You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mu...@apache.org on 2019/12/23 06:57:02 UTC
svn commit: r1871917 - in /xerces/java:
branches/xs-1.1-tests/data/idconstraints/
branches/xs-1.1-tests/src/org/apache/xerces/tests/ trunk/tests/idc/
Author: mukulg
Date: Mon Dec 23 06:57:01 2019
New Revision: 1871917
URL: http://svn.apache.org/viewvc?rev=1871917&view=rev
Log:
xerces-j commit: renaming test case file, and modifying references to the file
Added:
xerces/java/branches/xs-1.1-tests/data/idconstraints/jira_1515.xsd
- copied unchanged from r1871916, xerces/java/branches/xs-1.1-tests/data/idconstraints/sch_1515.xsd
xerces/java/trunk/tests/idc/jira_1515.xsd
- copied unchanged from r1871916, xerces/java/trunk/tests/idc/sch_1515.xsd
Removed:
xerces/java/branches/xs-1.1-tests/data/idconstraints/sch_1515.xsd
xerces/java/trunk/tests/idc/sch_1515.xsd
Modified:
xerces/java/branches/xs-1.1-tests/src/org/apache/xerces/tests/IDConstraintTests.java
xerces/java/trunk/tests/idc/IDConstraintTests.java
Modified: xerces/java/branches/xs-1.1-tests/src/org/apache/xerces/tests/IDConstraintTests.java
URL: http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/src/org/apache/xerces/tests/IDConstraintTests.java?rev=1871917&r1=1871916&r2=1871917&view=diff
==============================================================================
--- xerces/java/branches/xs-1.1-tests/src/org/apache/xerces/tests/IDConstraintTests.java (original)
+++ xerces/java/branches/xs-1.1-tests/src/org/apache/xerces/tests/IDConstraintTests.java Mon Dec 23 06:57:01 2019
@@ -1168,7 +1168,7 @@ public class IDConstraintTests extends X
// run validation in XSD 1.0 mode
fSchemaFactory = SchemaFactory.newInstance(DEFAULT_SCHEMA_LANGUAGE);
String xmlfile = fDataDir+"/idconstraints/valid_1_1515.xml";
- String schemapath = fDataDir+"/idconstraints/sch_1515.xsd";
+ String schemapath = fDataDir+"/idconstraints/jira_1515.xsd";
try {
fSchemaFactory.setFeature(SCHEMA_FULL_CHECKING_FEATURE_ID, true);
Schema s = fSchemaFactory.newSchema(new StreamSource(schemapath));
@@ -1197,7 +1197,7 @@ public class IDConstraintTests extends X
// run validation in XSD 1.0 mode
fSchemaFactory = SchemaFactory.newInstance(DEFAULT_SCHEMA_LANGUAGE);
String xmlfile = fDataDir+"/idconstraints/valid_2_1515.xml";
- String schemapath = fDataDir+"/idconstraints/sch_1515.xsd";
+ String schemapath = fDataDir+"/idconstraints/jira_1515.xsd";
try {
fSchemaFactory.setFeature(SCHEMA_FULL_CHECKING_FEATURE_ID, true);
Schema s = fSchemaFactory.newSchema(new StreamSource(schemapath));
@@ -1226,7 +1226,7 @@ public class IDConstraintTests extends X
// run validation in XSD 1.0 mode
fSchemaFactory = SchemaFactory.newInstance(DEFAULT_SCHEMA_LANGUAGE);
String xmlfile = fDataDir+"/idconstraints/invalid_1_1515.xml";
- String schemapath = fDataDir+"/idconstraints/sch_1515.xsd";
+ String schemapath = fDataDir+"/idconstraints/jira_1515.xsd";
try {
fSchemaFactory.setFeature(SCHEMA_FULL_CHECKING_FEATURE_ID, true);
Schema s = fSchemaFactory.newSchema(new StreamSource(schemapath));
Modified: xerces/java/trunk/tests/idc/IDConstraintTests.java
URL: http://svn.apache.org/viewvc/xerces/java/trunk/tests/idc/IDConstraintTests.java?rev=1871917&r1=1871916&r2=1871917&view=diff
==============================================================================
--- xerces/java/trunk/tests/idc/IDConstraintTests.java (original)
+++ xerces/java/trunk/tests/idc/IDConstraintTests.java Mon Dec 23 06:57:01 2019
@@ -440,7 +440,7 @@ public class IDConstraintTests extends X
public void testIDConstraint21() {
String xmlfile = "tests/idc/valid_1_1515.xml";
- String schemapath = "tests/idc/sch_1515.xsd";
+ String schemapath = "tests/idc/jira_1515.xsd";
try {
Schema s = fSchemaFactory.newSchema(new StreamSource(schemapath));
Validator v = s.newValidator();
@@ -456,7 +456,7 @@ public class IDConstraintTests extends X
public void testIDConstraint22() {
String xmlfile = "tests/idc/valid_2_1515.xml";
- String schemapath = "tests/idc/sch_1515.xsd";
+ String schemapath = "tests/idc/jira_1515.xsd";
try {
Schema s = fSchemaFactory.newSchema(new StreamSource(schemapath));
Validator v = s.newValidator();
@@ -472,7 +472,7 @@ public class IDConstraintTests extends X
public void testIDConstraint23() {
String xmlfile = "tests/idc/invalid_1_1515.xml";
- String schemapath = "tests/idc/sch_1515.xsd";
+ String schemapath = "tests/idc/jira_1515.xsd";
try {
Schema s = fSchemaFactory.newSchema(new StreamSource(schemapath));
Validator v = s.newValidator();
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org