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 2009/12/10 16:47:09 UTC
svn commit: r889303 -
/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/AbstractPsychoPathImpl.java
Author: mukulg
Date: Thu Dec 10 15:47:09 2009
New Revision: 889303
URL: http://svn.apache.org/viewvc?rev=889303&view=rev
Log:
disabling support, for type xs:duration in assertions at the moment, to comply with JRE level 1.3 compilation.
Modified:
xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/AbstractPsychoPathImpl.java
Modified: xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/AbstractPsychoPathImpl.java
URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/AbstractPsychoPathImpl.java?rev=889303&r1=889302&r2=889303&view=diff
==============================================================================
--- xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/AbstractPsychoPathImpl.java (original)
+++ xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/AbstractPsychoPathImpl.java Thu Dec 10 15:47:09 2009
@@ -55,7 +55,6 @@
import org.eclipse.wst.xml.xpath2.processor.internal.types.XSDayTimeDuration;
import org.eclipse.wst.xml.xpath2.processor.internal.types.XSDecimal;
import org.eclipse.wst.xml.xpath2.processor.internal.types.XSDouble;
-import org.eclipse.wst.xml.xpath2.processor.internal.types.XSDuration;
import org.eclipse.wst.xml.xpath2.processor.internal.types.XSFloat;
import org.eclipse.wst.xml.xpath2.processor.internal.types.XSGDay;
import org.eclipse.wst.xml.xpath2.processor.internal.types.XSGMonth;
@@ -264,9 +263,13 @@
psychoPathType = new XSDouble(Double.parseDouble(value));
}
// duration and it's subtypes
+ /*
+ * doesn't compile with JRE 1.3 PsychoPath binary. Can be provided
+ * later.
else if ("duration".equals(xsdTypeName)) {
psychoPathType = XSDuration.parseDTDuration(value);
}
+ */
else if ("dayTimeDuration".equals(xsdTypeName)) {
psychoPathType = XSDayTimeDuration.parseDTDuration(value);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org