sboag 00/07/21 07:46:22
Modified: src/org/apache/xalan/xpath/dtm DTMProxy.java
Log:
Changed cast to AttrImpl to Attr and just used getOwnerElement.
Revision Changes Path
1.11 +9 -0 xml-xalan/src/org/apache/xalan/xpath/dtm/DTMProxy.java
Index: DTMProxy.java
===================================================================
RCS file: /home/cvs/xml-xalan/src/org/apache/xalan/xpath/dtm/DTMProxy.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- DTMProxy.java 2000/05/10 20:27:54 1.10
+++ DTMProxy.java 2000/07/21 14:46:22 1.11
@@ -580,6 +580,15 @@
{
throw new DTMException(DTMException.NOT_SUPPORTED_ERR);
}
+
+ /**
+ * Introduced in DOM Level 2.
+ */
+ public boolean hasAttributes()
+ {
+ throw new DTMException(DTMException.NOT_SUPPORTED_ERR);
+ }
+
/** @see org.w3c.dom.Element */
public final void normalize()