DR 09-182 WML: Handling of invalid uri values

Chris Rae Chris.Rae at microsoft.com
Mon May 16 23:46:37 CEST 2011


Murata-san - thanks for doing all this research. I am not so keen on changing all these types to ST_Uri, as we will run the risk of invalidating all the existing documents out there with no obvious benefit to the owners of those documents.

I think we should probably discuss this one in Berlin - I'd definitely be against changing all of these at once, but there may be some sort of halfway house we could find where we track down the ones which already contained URIs in existing documents and just change those.

Chris

-----Original Message-----
From: MURATA Makoto (FAMILY Given) [mailto:eb2m-mrt at asahi-net.or.jp] 
Sent: 04 March 2011 06:49
To: 'SC 34 WG4'
Subject: Re: DR 09-182 WML: Handling of invalid uri values

> Third, which att definition should refernce to this new simple type?  
> There are quite a few attributes named "uri", and the current text in 
> the final text for DR 09-182 enumerates those in wml.xsd only.  There 
> are other attributes named "uri", although they occur in extension 
> elements rather than custom XML or smart tags.  I guess that we have 
> to submit another DR for them.

I read the DR again.  This DR merely talks about similar attributes in WordprocessingML, but  there are quite a few other attributes in other markup languages.

I spent about 2 hours.  Here is the result.  I think it makes a lot of sense to use ST_Uri for all of them.

18.2.7  ext (Extension)
CT_Extension
sml.xsd:    <xsd:attribute name="uri" type="xsd:token"/>

18.16.4  Schema (XML Schema)
CT_Schema
sml.xsd:    <xsd:attribute name="Namespace" type="xsd:string" use="optional"/>

17.5.1.1  attr (Custom XML Attribute)
CT_Attr
wml.xsd:    <xsd:attribute name="uri" type="s:ST_String"/>

17.5.1.2  attr (Smart Tag Property)
CT_Attr
wml.xsd:    <xsd:attribute name="uri" type="s:ST_String"/>

17.5.1.3  customXml (Inline-Level Custom XML Element) CT_CustomXmlRun
wml.xsd:    <xsd:attribute name="uri" type="s:ST_String"/>

17.5.1.4  customXml (Cell-Level Custom XML Element) CT_CustomXmlCell
wml.xsd:    <xsd:attribute name="uri" type="s:ST_String"/>

17.5.1.5  customXml (Row-Level Custom XML Element) CT_CustomXmlRow
wml.xsd:    <xsd:attribute name="uri" type="s:ST_String"/>

17.5.1.6  customXml (Block-Level Custom XML Element) CT_CustomXmlBlock
wml.xsd:    <xsd:attribute name="uri" type="s:ST_String"/>

17.5.1.9  smartTag (Inline-Level Smart Tag) CT_SmartTagRun
wml.xsd:    <xsd:attribute name="uri" type="s:ST_String"/>

17.15.1.81  smartTagType (Supplementary Smart Tag Information) CT_SmartTagType
wml.xsd:    <xsd:attribute name="namespaceuri" type="s:ST_String"/>

17.15.3.4  compatSetting (Custom Compatibility Setting) CT_CompatSetting
wml.xsd:    <xsd:attribute name="uri" type="s:ST_String"/>

18.2.22  smartTagType (Smart Tag Type)
CT_SmartTagType
sml.xsd:    <xsd:attribute name="namespaceUri" type="s:ST_Xstring" use="optional"/>

19.2.1.11  ext (Extension)
CT_Extension
pml.xsd:    <xsd:attribute name="uri" type="xsd:token" use="required"/>

20.1.2.2.14  ext (Extension)
CT_OfficeArtExtension
dml-main.xsd:    <xsd:attribute name="uri" type="xsd:token" use="required"/>

20.1.2.2.17  graphicData (Graphic Object Data) CT_GraphicalObjectData
dml-main.xsd:    <xsd:attribute name="uri" type="xsd:token" use="required"/>

21.2.2.62  ext (Extension)
CT_Extension
dml-chart.xsd:    <xsd:attribute name="uri" type="xsd:token"/>

22.5.2.2  schemaRef (Associated XML Schema) CT_DatastoreSchemaRef
shared-customXmlDataProperties.xsd:    <xsd:attribute name="uri" type="xsd:string" use="required"/>

22.6.2.60  Sources (Sources)
CT_Sources
shared-bibliography.xsd:    <xsd:attribute name="URI" type="s:ST_String"/>

23.2.1  schema (Custom XML Schema Reference) CT_Schema
shared-customXmlSchemaProperties.xsd:    <xsd:attribute name="uri" type="xsd:string" default=""/>
shared-customXmlSchemaProperties.xsd:    <xsd:attribute name="manifestLocation" type="xsd:string"/>
shared-customXmlSchemaProperties.xsd:    <xsd:attribute name="schemaLocation" type="xsd:string"/>
shared-customXmlSchemaProperties.xsd:    <xsd:attribute name="schemaLanguage" type="xsd:token"/>


Cheers,
Makoto



More information about the sc34wg4 mailing list