[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Question about XML namespaces
- From: David Carlisle <d.p.carlisle@gmail.com>
- To: Mukul Gandhi <mukulg@softwarebytes.org>
- 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@softwarebytes.org> 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]