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

  • From: David Carlisle <d.p.carlisle@g...>
  • To: Mukul Gandhi <mukulg@s...>
  • Date: Wed, 17 Feb 2021 11:22:07 +0000

The NameChar Production includes NameStartChar which includes :

David

On Wed, 17 Feb 2021 at 11:10, Mukul Gandhi <mukulg@s...> wrote:
>
> 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