DR 09-0219: WML: Custom XML Attribute
Shawn Villaron
shawnv at microsoft.com
Fri May 29 20:57:03 CEST 2009
Nature of the Defect:
The w:name attribute of w:attr is permitted by the schema (and by the normative text) to contain a string which does not constitute a conformant XML Name. Thus, the standard permits custom tags implying tagged text that cannot be processed using conformant XML processors
Here is the proposed response for this DR:
In wml.xsd, in CT_Attr:
<xsd:attribute name="name" type=" s:ST_Strings:ST_XmlName" use="required"/>
In shared-simpleTypes.xsd:
<xsd:simpleType name="ST_XmlName">
<xsd:restriction base="xsd:NCName">
<xsd:minLength value="1"/>
<xsd:maxLength value="255"/>
</xsd:restriction>
</xsd:simpleType>
shawn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.vse.cz/pipermail/sc34wg4/attachments/20090529/b1d32fa7/attachment.htm>
More information about the sc34wg4
mailing list