Author: mukulg
Date: Thu Nov 10 05:53:24 2011
New Revision: 1200169
URL: http://svn.apache.org/viewvc?rev=1200169&view=rev
Log:
schema 1.1 commit:
adding support for xs:base64Binary and xs:hexBinary while computing typed
values for XDM nodes. the PsychoPath XPath engine required little changes to
provide this support (the updated PsychoPath XPath jar is provided for this
enhancement).
I started of with use cases like following,
<xs:simpleType name="T1">
<xs:restriction base="xs:base64Binary">
<xs:assertion test="$value instance of xs:base64Binary"/>
<xs:assertion test="string-length(string($value)) = 4"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="T2">
<xs:restriction base="xs:hexBinary">
<xs:assertion test="$value instance of xs:hexBinary"/>
<xs:assertion test="string-length(string($value)) = 4"/>
</xs:restriction>
</xs:simpleType>
The "instance of" checks for xs:base64Binary and xs:hexBinary were failing
before this enhancement. They work correctly now after this enhancement.
Modified:
xerces/java/branches/xml-schema-1.1-dev/tools/org.eclipse.wst.xml.xpath2.processor_1.2.0.jar
Modified:
xerces/java/branches/xml-schema-1.1-dev/tools/org.eclipse.wst.xml.xpath2.processor_1.2.0.jar
URL:
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/tools/org.eclipse.wst.xml.xpath2.processor_1.2.0.jar?rev=1200169&r1=1200168&r2=1200169&view=diff
==============================================================================
Binary files - no diff available.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]