perfsonar-dev - [pS-dev] [GEANT/SA2/ps-java-services] r5805 - trunk/perfsonar-java-xml-ls/src/test/soapUI/src/org/perfsonar/soapUI/ls
Subject: perfsonar development work
List archive
[pS-dev] [GEANT/SA2/ps-java-services] r5805 - trunk/perfsonar-java-xml-ls/src/test/soapUI/src/org/perfsonar/soapUI/ls
Chronological Thread
- From:
- To:
- Subject: [pS-dev] [GEANT/SA2/ps-java-services] r5805 - trunk/perfsonar-java-xml-ls/src/test/soapUI/src/org/perfsonar/soapUI/ls
- Date: Mon, 14 Feb 2011 12:40:54 GMT
Author: psnc.jedrzejewski
Date: 2011-02-14 12:40:54 +0000 (Mon, 14 Feb 2011)
New Revision: 5805
Modified:
trunk/perfsonar-java-xml-ls/src/test/soapUI/src/org/perfsonar/soapUI/ls/TestUtil.java
Log:
rnc schema suppport added
Modified:
trunk/perfsonar-java-xml-ls/src/test/soapUI/src/org/perfsonar/soapUI/ls/TestUtil.java
===================================================================
---
trunk/perfsonar-java-xml-ls/src/test/soapUI/src/org/perfsonar/soapUI/ls/TestUtil.java
2011-02-14 12:34:21 UTC (rev 5804)
+++
trunk/perfsonar-java-xml-ls/src/test/soapUI/src/org/perfsonar/soapUI/ls/TestUtil.java
2011-02-14 12:40:54 UTC (rev 5805)
@@ -29,10 +29,13 @@
return url.openStream();
}
+ static{
+ System.setProperty(SchemaFactory.class.getName() + ":" +
XMLConstants.RELAXNG_NS_URI,
+
"com.thaiopensource.relaxng.jaxp.CompactSyntaxSchemaFactory");
+ }
+
public static boolean validateRNG(String xmlDocument, File
schemaFile, Logger log)
throws IOException, ParserConfigurationException,
SAXException {
- System.setProperty(SchemaFactory.class.getName() + ":" +
XMLConstants.RELAXNG_NS_URI,
-
"com.thaiopensource.relaxng.jaxp.CompactSyntaxSchemaFactory");
SchemaFactory factory =
SchemaFactory.newInstance(XMLConstants.RELAXNG_NS_URI);
File schemaLocation = schemaFile;
- [pS-dev] [GEANT/SA2/ps-java-services] r5805 - trunk/perfsonar-java-xml-ls/src/test/soapUI/src/org/perfsonar/soapUI/ls, svn-noreply, 02/14/2011
Archive powered by MHonArc 2.6.16.