Author: alex.guizar(a)jboss.com
Date: 2008-11-24 20:45:58 -0500 (Mon, 24 Nov 2008)
New Revision: 3065
Removed:
jbpm3/trunk/modules/core/src/test/resources/org/jbpm/jpdl/xml/files/
Modified:
jbpm3/trunk/modules/core/src/test/java/org/jbpm/jpdl/xml/XmlSchemaTest.java
jbpm3/trunk/modules/core/src/test/resources/org/jbpm/jpdl/xml/testMultipleNamespaces.xml
Log:
fixed xml schema test that does not work offline
Modified: jbpm3/trunk/modules/core/src/test/java/org/jbpm/jpdl/xml/XmlSchemaTest.java
===================================================================
--- jbpm3/trunk/modules/core/src/test/java/org/jbpm/jpdl/xml/XmlSchemaTest.java 2008-11-24
20:33:11 UTC (rev 3064)
+++ jbpm3/trunk/modules/core/src/test/java/org/jbpm/jpdl/xml/XmlSchemaTest.java 2008-11-25
01:45:58 UTC (rev 3065)
@@ -70,7 +70,7 @@
}
public void testMultipleNamespaces() {
- JpdlParser.addSchemaResource("org/jbpm/jpdl/xml/files/sitemap.xsd");
+ JpdlParser.addSchemaResource("org/jbpm/jpdl/xml/sitemap.xsd");
try {
parseXmlForThisMethod();
fail("expected exception");
Modified:
jbpm3/trunk/modules/core/src/test/resources/org/jbpm/jpdl/xml/testMultipleNamespaces.xml
===================================================================
---
jbpm3/trunk/modules/core/src/test/resources/org/jbpm/jpdl/xml/testMultipleNamespaces.xml 2008-11-24
20:33:11 UTC (rev 3064)
+++
jbpm3/trunk/modules/core/src/test/resources/org/jbpm/jpdl/xml/testMultipleNamespaces.xml 2008-11-25
01:45:58 UTC (rev 3065)
@@ -1,11 +1,13 @@
<?xml version="1.0"?>
-<jbpm:process-definition xmlns:jbpm ="urn:jbpm.org:jpdl-3.2"
-
xmlns:sitemap="http://www.google.com/schemas/sitemap/0.84"
- xmlns:xsi
="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="urn:jbpm.org:jpdl-3.2
http://jbpm.org/jpdl-3.2.xsd
-
http://www.google.com/schemas/sitemap/0.84
http://www.google.com/schemas/sitemap/0.84/sitemap.xsd"
- name="multinamespace process">
+<jbpm:process-definition name="multinamespace process"
+ xmlns:jbpm ="urn:jbpm.org:jpdl-3.2"
+
xmlns:sitemap="http://www.google.com/schemas/sitemap/0.84"
+ xmlns:xsi ="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="urn:jbpm.org:jpdl-3.2
+
http://jbpm.org/jpdl-3.2.xsd
+
http://www.google.com/schemas/sitemap/0.84
+
http://www.google.com/schemas/sitemap/0.84/sitemap.xsd">
<jbpm:node name="one" />
<jbpm:node name="two" />
@@ -13,9 +15,9 @@
<jbpm:action name="configured with different namespace stuff">
<sitemap:urlset>
-
<sitemap:url><sitemap:loc>http://www.microsoft.com</sitemap:loc></sitemap:url>
-
<sitemap:url><sitemap:loc>http://www.microsoft.com</sitemap:loc></sitemap:url>
-
<sitemap:url><sitemap:loc>http://www.microsoft.com</sitemap:loc></sitemap:url>
+
<sitemap:url><sitemap:loc>http://www.redhat.com</sitemap:loc></sitemap:url>
+
<sitemap:url><sitemap:loc>http://www.jboss.com</sitemap:loc></sitemap:url>
+
<sitemap:url><sitemap:loc>http://www.jbpm.org</sitemap:loc></sitemap:url>
<blablabla />
</sitemap:urlset>
</jbpm:action>