svn commit: r1187442 - /xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/alternative/Test.java
Author: mukulg Date: Fri Oct 21 16:18:28 2011 New Revision: 1187442 URL: http://svn.apache.org/viewvc?rev=1187442view=rev Log: schema 1.1 commit: setting base-uri property of XPath2 static context, to the URI of XSD document while processing CTA. this is expected in one of XSD 1.1 test suite tests. Modified: xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/alternative/Test.java Modified: xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/alternative/Test.java URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/alternative/Test.java?rev=1187442r1=1187441r2=1187442view=diff == --- xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/alternative/Test.java (original) +++ xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/alternative/Test.java Fri Oct 21 16:18:28 2011 @@ -33,6 +33,7 @@ import org.apache.xerces.util.NamespaceS import org.apache.xerces.xni.NamespaceContext; import org.apache.xerces.xni.QName; import org.apache.xerces.xni.XMLAttributes; +import org.eclipse.wst.xml.xpath2.processor.DynamicContext; import org.eclipse.wst.xml.xpath2.processor.ast.XPath; import org.w3c.dom.Document; import org.w3c.dom.Element; @@ -158,7 +159,8 @@ public class Test extends AbstractPsycho // construct parameter values for psychopath xpath processor Map psychoPathParams = new HashMap(); psychoPathParams.put(Constants.XPATH2_NAMESPACE_CONTEXT, fXPath2NamespaceContext); -initXPath2DynamicContext(null, document, psychoPathParams); +DynamicContext xpath2DynamicContext = initXPath2DynamicContext(null, document, psychoPathParams); +xpath2DynamicContext.set_base_uri(fTypeAlternative.getBaseURI()); // set base-uri property in XPath2 static context, to the URI of XSD document if (fTypeAlternative.fXPathDefaultNamespace != null) { addNamespaceBindingToXPath2DynamicContext(null, fTypeAlternative.fXPathDefaultNamespace); } - To unsubscribe, e-mail: commits-unsubscr...@xerces.apache.org For additional commands, e-mail: commits-h...@xerces.apache.org
[Xerces Wiki] Update of xmlschema11SaxonicaTests by Mukul Gandhi
Dear Wiki user, You have subscribed to a wiki page or wiki category on Xerces Wiki for change notification. The xmlschema11SaxonicaTests page has been changed by Mukul Gandhi: http://wiki.apache.org/xerces/xmlschema11SaxonicaTests?action=diffrev1=33rev2=34 Comment: updating saxon test results after latest changes to code base ||:80.|| || || ||:cta0023.v01||: #ccff99valid||: #ccff99valid|| || || ||: bgcolor=cta0024|| || || || || ||:81.|| || ||:cta0024|| ||: #ccff99valid||: #ccff99valid|| - ||:82.|| || || ||:cta0024.v01||: #ffcc99valid||: #ffcc99invalid|| + ||:82.|| || || ||:cta0024.v01||: #ccff99valid||: #ccff99valid|| || || ||: bgcolor=cta0025|| || || || || ||:83.|| || ||:cta0025|| ||: #ccff99valid||: #ccff99valid|| ||:84.|| || || ||:cta0025.v01||: #ccff99valid||: #ccff99valid|| - To unsubscribe, e-mail: commits-unsubscr...@xerces.apache.org For additional commands, e-mail: commits-h...@xerces.apache.org
[Xerces Wiki] Update of xmlschema11TestSuiteReports by Mukul Gandhi
Dear Wiki user, You have subscribed to a wiki page or wiki category on Xerces Wiki for change notification. The xmlschema11TestSuiteReports page has been changed by Mukul Gandhi: http://wiki.apache.org/xerces/xmlschema11TestSuiteReports?action=diffrev1=38rev2=39 Comment: updating aggregate test results after latest changes to code base '''__XERCES XML Schema 1.1 test-suite results__''' - Xerces SVN Revision: 1186819 + Xerces SVN Revision: 1187442 (1) __Xerces running IBM XML Schema 1.1 Tests__ @@ -19, +19 @@ ''Summary'': ||style=text-align: center;Total Tests ||style=text-align: center;Tests passed ||style=text-align: center;Success % || - ||style=text-align: center;1264 ||style=text-align: center;1250 ||style=text-align: center;98.89 || + ||style=text-align: center;1264 ||style=text-align: center;1251 ||style=text-align: center;98.97 || @@ -28, +28 @@ '''Overall Test Suite run status:''' ||style=text-align: center;Total Tests ||style=text-align: center;Tests passed ||style=text-align: center;Success % || - ||style=text-align: center;2183 ||style=text-align: center;2168 ||style=text-align: center;99.31 || + ||style=text-align: center;2183 ||style=text-align: center;2169 ||style=text-align: center;99.36 || - To unsubscribe, e-mail: commits-unsubscr...@xerces.apache.org For additional commands, e-mail: commits-h...@xerces.apache.org