[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [office] Errata in RelaxNG schema
Hi Michael, I see... you're right. I've written to James Clark to report the problem with Trang. And yes, we definitely shouldn't break the schema to suit the broken validators... Cheers, Daniel. On Mon, 2006-04-09 at 09:13 +0200, Michael Brauer wrote: > In my opinion, the current schema is correct, and it would be wrong to esacpe > the '$' characters. > > Regular expressions are defined in appendix F of the XSD specification: > http://www.w3.org/TR/xmlschema-2/#regexs > > Rule [9] defines characters and meta characters. The "$" here is not in the > meta characters, but a normal character. It is further not included in the > single char escapes define in rule [24]. So, rule [9] allows us to use the > "$" without escpaing it, and rule [24] actually forbids us to do so. > > However, many validators in fact have problems with the fact that "$" is a > normal character. My assumption is that they reuse regular expression > implementations which are not tailored to XSD, and therefore treat "$" as a > meta character. These are bugs in the validators that we cannot work-around > in the schema. > > Michael -- "I AM in shape. Round IS a shape."
This is a digitally signed message part
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]