jkesselm 2002/10/17 13:34:57
Modified: java/src/org/apache/xpath/parser Tag: xslt20 SimpleNode.java
Log:
Enable AtomicType
Revision Changes Path
No revision
No revision
1.1.2.1.2.13 +5 -3
xml-xalan/java/src/org/apache/xpath/parser/Attic/SimpleNode.java
Index: SimpleNode.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xpath/parser/Attic/SimpleNode.java,v
retrieving revision 1.1.2.1.2.12
retrieving revision 1.1.2.1.2.13
diff -u -r1.1.2.1.2.12 -r1.1.2.1.2.13
--- SimpleNode.java 10 Oct 2002 14:58:36 -0000 1.1.2.1.2.12
+++ SimpleNode.java 17 Oct 2002 20:34:57 -0000 1.1.2.1.2.13
@@ -1022,9 +1022,11 @@
case XPathTreeConstants.JJTUNTYPED :
newNode = new NodeTestType(p, DTMFilter.SHOW_UNTYPED);
break;
-// case XPathTreeConstants.JJTATOMICVALUE :
-// newNode = new AtomicType(p);
-// break;
+/* JKESS: This case had been commented out. I've re-enabled it after patching
+ * AtomicType not to cause a crash -- but it still doesn't _work_. */
+/**/ case XPathTreeConstants.JJTATOMICVALUE :
+/**/ newNode = new AtomicType(p);
+/**/ break;
case XPathTreeConstants.JJTELEMORATTRTYPE :
newNode = new ElemOrAttrType(p, "JJTELEMORATTRTYPE");
break;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]