Judging by what was actually implimented, I think that the schema def is the 
valid one. Wouldn't colons in ID values mess with namespaces?



----- Original Message ----
> From: Hussein Shafie <hussein at xmlmind.com>
> To: Jeff Hooker <jeff at itwriting.ca>
> Cc: "xmleditor-support at xmlmind.com" <xmleditor-support at xmlmind.com>
> Sent: Mon, November 2, 2009 10:01:09 AM
> Subject: Re: [XXE] Fw: Small bug with generateXref feature
> 
> Jeff Hooker wrote:
> >? 
> > Found one small bug with the genXref feature; it filters all special 
> characters 
> > except the colon (:), which is an illegal character in xml:ids.
> >? 
> 
> Is it really?
> 
> --> Extensible Markup Language (XML) 1.0 (Fourth Edition),
> http://www.w3.org/TR/xml/ says:
> ---
> Values of type ID? MUST match the Name production.
> 
> Name ::= NameStartChar (NameChar)*
> 
> NameStartChar ::= ":" | [A-Z] | "_" | [a-z] | ...
> ---
> 
> --> XML Schema Part 2: Datatypes Second Edition,
> says:
> ---
> The ?lexical space? of ID is the set of all strings that ?match? the
> NCName production in [Namespaces in XML]
> 
> NCName ::= (Letter | '_') (NCNameChar)*??? 
> /* An XML Name, minus the ":" */
> ---
> 
> Who is right?
> 
> 
> 
> 
> 
> --
> XMLmind XML Editor Support List
> xmleditor-support at xmlmind.com
> http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to