[Home] [By Thread] [By Date] [Recent Entries]

  • From: Mukul Gandhi <mukulg@s...>
  • To: xml-dev@l...
  • Date: Wed, 17 Feb 2021 16:40:25 +0530

Hi all,
    I've question about NCName production of the "Namespaces in XML 1.0 (Third Edition)" spec (ref, https://www.w3.org/TR/REC-xml-names/#NT-NCName).

This production says following,
NCName    ::= Name - (Char* ':' Char*) /* An XML Name, minus the ":" */

The Name production on RHS above takes us to, https://www.w3.org/TR/REC-xml/#NT-Name. From my reading, the Name production (mentioned in XML 1.0 Fifth Edition spec) on RHS doesn't include the ':' character. Colon's hex code point value is 3a. If this is so, then what's the point of writing - (Char* ':' Char*) on RHS of NCName production? 


--
Regards,
Mukul Gandhi


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member