W3C home > Mailing lists > Public > xmlschema-dev@w3.org > November 2003

RE: Appendix F regular expression (malformed XmlCharRef)

From: Biron,Paul V <Paul.V.Biron@kp.org>
Date: Tue, 18 Nov 2003 09:17:32 -0800
Message-Id: <8904C60CACA7D51191BC00805FEAAF4301B8BF91@crdc-exch-7.crdc.kp.org>
To: tmoog <tmoog@sarvega.com>, xmlschema-dev@w3.org
> -----Original Message-----
> From: tmoog [mailto:tmoog@sarvega.com] 
> Sent: Mon, Nov 17, 2003 06:05
> To: xmlschema-dev@w3.org
> 
> a.  Schema Part 2, Appendix F, production [10] is a 
> definition of "normal character".  This appears to disagree 
> with the definition of "normal character"
> and "meta-character" in the text immediately preceding in 
> that it omits left and right curly braces.  I don't see any 
> correction of this in the errata.  Have I missed something ?

this is a known problem and I thought there was already an erratum on this...but I see that the proposed errata text has never been approved by the WG...we'll get to it soon.

> b.  Suppose a malformed XmlCharRef appears in a charRange 
> (e.g. &-#-1-2-x-semicolon instead of &-#-1-2-3-semicolon).
> Since neither "&" (nor "#" nor ";") are meta-characters, this 
> seems to imply that the sequence should be interpreted as six 
> ordinary XmlChar instead of causing an error ("Malformed 
> XmlCharRef in regular expression at line ...").
> Is this interpretation correct ?

No, that interp is not correct.  The reason is that:

	<x>&#12x;</x>

is not well-formed.

pvb
Received on Tuesday, 18 November 2003 12:31:52 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:03 UTC