DR 09-182 WML: Handling of invalid uri values
Shawn Villaron
shawnv at microsoft.com
Tue Mar 23 15:19:36 CET 2010
Minor edits. I believe with these changes we can move this to LAST CALL.
From: Shawn Villaron [mailto:shawnv at microsoft.com]
Sent: Thursday, March 18, 2010 4:42 AM
To: 'SC 34 WG4'
Subject: DR 09-182 WML: Handling of invalid uri values
This is in regards to the CH defect report. Our proposed response is as follows.
DR 09-182 WML: Handling of invalid uri values
Agreed.
The following changes will be made to both transitional and strict:
* Create a new simple type, ST_Uri, with restriction set to xs:anyURI.
* The attribute uri (attr @uri (17.5.1.1), attr @uri (17.5.1.2), customXml @uri (17.5.1.3), customXml @uri (17.5.1.4), customXml @uri (17.5.1.5), customXml @uri (17.5.1.6), smartTag @uri(17.5.1.9) , and schema @uri (23.2.1)) will be restricted to ST_Uri instead of ST_String
In summary, this change affects the following elements:
* attr @uri (17.5.1.1)
* attr @uri (17.5.1.2)
* customXml @uri (17.5.1.3)
* customXml @uri (17.5.1.4)
* customXml @uri (17.5.1.5)
* customXml @uri (17.5.1.6)
* smartTag @uri(17.5.1.9)
* schema @uri (23.2.1)
New subsection needs to be added to Part 1 Section 22.9.2:
22.9.2.X ST_Uri (Uniform Resource Identifier Reference)
A value of this type shall be a Uniform Resource Identifier Reference (URI).
[Example: Consider the following WordprocessingML fragment for the properties of a single custom XML element:
<w:customXmlPr>
<w:attr w:name="company" w:uri="http://schemas.openxmlformats.org/2006/example" ... />
</w:customXmlPr>
The attr element specifies that the URI associated with the attribute name whose value is company shall be http://schemas.openxmlformats.org/2006/example. end example]
This simple type's contents are a restriction of the W3C XML Schema anyURI datatype.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.vse.cz/pipermail/sc34wg4/attachments/20100323/cb943ef7/attachment.htm>
More information about the sc34wg4
mailing list