← Prev in month ← Prev in thread

Question about XML namespaces

From
Mukul Gandhi <>
To
Date
2021-02-17T11:10:25Z
ID
<CANGHzgDKZWs-HWbHvmXOi0AeKhyoszB9kSvPs4=>
Thread
Question about XML namespaces
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
← Prev in month ← Prev in thread