SM> RE: MimeExtensionPattern error

SM> RE: MimeExtensionPattern error

Zehler, Peter PZehler at crt.xerox.com
Tue Nov 23 08:54:53 EST 2004


All,
 
Below is the proposed fix for the MimeExtensionPattern error.  If there are
no objections before close of business December 2nd I will update the PWG
web site with the fix.
 
Pete
 
In PwgWellKnownValues.xsd

Change
_________________________________________
	<xsd:simpleType name="MimeExtensionPattern">
		<xsd:restriction base="xsd:NMTOKEN">
			<xsd:pattern value="\w+[\w:/;_\-\\\+\.]*"/>
		</xsd:restriction>
	</xsd:simpleType>
__________________________________________
To
__________________________________________
	<xsd:simpleType name="MimeExtensionPattern">
		<xsd:restriction base="xsd:string">
			<xsd:pattern value="\w+[\w:/;_\-\\\+\.]*"/>
		</xsd:restriction>
	</xsd:simpleType>
__________________________________________

I will also update the version of the schema module by changing
___________________________________________
<xsd:schema targetNamespace="http://www.pwg.org/schemas/sm/1.0/"
xmlns="http://www.pwg.org/schemas/sm/1.0/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
version="1.00">
____________________________________________

To
_____________________________________________
<xsd:schema targetNamespace="http://www.pwg.org/schemas/sm/1.0/"
xmlns="http://www.pwg.org/schemas/sm/1.0/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
version="1.01">
_____________________________________________

				Peter Zehler 
				XEROX 
				Xerox Innovation Group 
				Email: PZehler at crt.xerox.com 
				Voice:    (585) 265-8755 
				FAX:      (585) 422-7961 
				US Mail: Peter Zehler
				              Xerox Corp. 
				              800 Phillips Rd. 
				              M/S 128-25E 
				              Webster NY, 14580-9701 


_____________________________________________
From: Zehler, Peter 
Sent: Wednesday, November 03, 2004 2:06 PM
To: PWG Semantic Model WG (sm at pwg.org)
Subject: MimeExtensionPattern error

All,
In PwgWellKnownValues.xsd the base type for the MimeExtensionPattern should
beof type  xsd:string instead of xsd:NMTOKEN.  This mistake makes it
impossible to use the '/' character in some (correct) environments.
Pete

				Peter Zehler 
				XEROX 
				Xerox Innovation Group 
				Email: PZehler at crt.xerox.com 
				Voice:    (585) 265-8755 
				FAX:      (585) 422-7961 
				US Mail: Peter Zehler
				              Xerox Corp. 
				              800 Phillips Rd. 
				              M/S 128-25E 
				              Webster NY, 14580-9701 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pwg.org/archives/sm/attachments/20041123/19291e6c/attachment-0001.html


More information about the Sm mailing list