[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: [relax-ng-comment] XML 1.1 and a possible RELAX NG technicalcorrigendum
The first XML 1.1 WD has just been issued, proposing an extremely loose model for XML 1.1 names; basically, anything goes except the ASCII symbols, a block of Unicode symbols, and a few other things. James has in the past suggested that XML name rules should be checked at the validation level rather than at the well-formedness level. In pursuit of this, it would be fitting for RELAX NG to support such validation. I propose the following approach, to be instantiated in a RELAX NG TC when and if XML 1.1 becomes a W3C Recommendation: Allow a name to be matched against a datatype, with syntax <name><data type="goodname">...</data></name>. This syntax represents the class of names that are lexically equivalent to strings of type goodname in some datatype library or other. In particular, one could make use of the XSD2 pattern datatype to specify useful patterns. One could also provide this as a RELAX NG extension by creating an additional namespace containing only the data element, thus making etc:data a legal foreign element. However, since its semantics are essentially the same as the rng:data element, this seems less desirable. -- Not to perambulate || John Cowan <jcowan@reutershealth.com> the corridors || http://www.reutershealth.com during the hours of repose || http://www.ccil.org/~cowan in the boots of ascension. \\ Sign in Austrian ski-resort hotel
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC