Author: dims
Date: Tue Mar 25 05:43:38 2008
New Revision: 640790
URL: http://svn.apache.org/viewvc?rev=640790&view=rev
Log:
get past a build break from xmlschema, it throws errors now on namespace
conflicts
Modified:
webservices/woden/trunk/java/test/org/apache/woden/internal/wsdl20/validation/WSDLDocumentValidatorTest.java
Modified:
webservices/woden/trunk/java/test/org/apache/woden/internal/wsdl20/validation/WSDLDocumentValidatorTest.java
URL:
http://svn.apache.org/viewvc/webservices/woden/trunk/java/test/org/apache/woden/internal/wsdl20/validation/WSDLDocumentValidatorTest.java?rev=640790&r1=640789&r2=640790&view=diff
==============================================================================
---
webservices/woden/trunk/java/test/org/apache/woden/internal/wsdl20/validation/WSDLDocumentValidatorTest.java
(original)
+++
webservices/woden/trunk/java/test/org/apache/woden/internal/wsdl20/validation/WSDLDocumentValidatorTest.java
Tue Mar 25 05:43:38 2008
@@ -477,7 +477,8 @@
Document schemaDoc2 = builder.getDocument();
XmlSchemaCollection xsc = new XmlSchemaCollection();
XmlSchema xs1 = xsc.read(schemaDoc1.getDocumentElement());
- XmlSchema xs2 = xsc.read(schemaDoc2.getDocumentElement());
+ XmlSchemaCollection xsc2 = new XmlSchemaCollection();
+ XmlSchema xs2 = xsc2.read(schemaDoc2.getDocumentElement());
inlinedSchemas[0].setSchemaDefinition(xs1);
inlinedSchemas[1].setSchemaDefinition(xs2);
if(val.testAssertionSchema1073(inlinedSchemas, reporter))
@@ -718,7 +719,8 @@
Document schemaDoc2 = builder.getDocument();
XmlSchemaCollection xsc = new XmlSchemaCollection();
XmlSchema xs1 = xsc.read(schemaDoc1.getDocumentElement());
- XmlSchema xs2 = xsc.read(schemaDoc2.getDocumentElement());
+ XmlSchemaCollection xsc2 = new XmlSchemaCollection();
+ XmlSchema xs2 = xsc2.read(schemaDoc2.getDocumentElement());
inlinedSchemas[0].setSchemaDefinition(xs1);
inlinedSchemas[1].setSchemaDefinition(xs2);
if(val.testAssertionSchema1073(inlinedSchemas, reporter))
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]