Custom XML Defect Reports Batch
Chris Rae
Chris.Rae at microsoft.com
Tue Feb 15 22:25:56 CET 2011
Was reminded of this one by Rex's mail yesterday (thanks Rex!). Murata-san, that's well spotted regarding the schema location - you're definitely correct and it should appear in shared-commonSimpleTypes.xsd. On the length question - I don't believe we did this before; what prompted the question? I'm reticent to add a restriction unless there's a good reason for it, given that we're modifying a standard that existing documents are already targeting.
Chris
-----Original Message-----
From: MURATA Makoto (FAMILY Given) [mailto:eb2m-mrt at asahi-net.or.jp]
Sent: 28 November 2010 00:14
To: SC 34 WG4
Subject: Re: Custom XML Defect Reports Batch
Dear colleagues,
While trying to store schema changes for DR 09-0212 in the svn repository, I find two minor problems again.
First, the new simple type should appear in shared-commonSimpleTypes.xsd rather than shared-additionalCharacteristics.xsd, because this is a new simple type to be shared and also because it is referenced as s:ST_XmlName where s references the target namespace of shared-commonSimpleTypes.xsd.
Second, should we disallow names containing more than 256 characters?
<xsd:simpleType name="ST_XmlName">
<xsd:restriction base="xsd:NCName">
<xsd:minLength value="1"/>
<xsd:maxLength value="255"/>
</xsd:restriction>
</xsd:simpleType>
Cheers,
Makoto
More information about the sc34wg4
mailing list