The NameChar Production includes NameStartChar which includes :
David
On Wed, 17 Feb 2021 at 11:10, Mukul Gandhi <> 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