vgritsenko 2004/02/18 18:45:37
Modified: java/src/org/apache/xindice/client/xmldb
ResourceSetImpl.java
Log:
Use defined constant for the "key" attribute
Revision Changes Path
1.14 +3 -4
xml-xindice/java/src/org/apache/xindice/client/xmldb/ResourceSetImpl.java
Index: ResourceSetImpl.java
===================================================================
RCS file:
/home/cvs/xml-xindice/java/src/org/apache/xindice/client/xmldb/ResourceSetImpl.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- ResourceSetImpl.java 8 Feb 2004 02:43:01 -0000 1.13
+++ ResourceSetImpl.java 19 Feb 2004 02:45:37 -0000 1.14
@@ -88,10 +88,9 @@
Node n = nodes.item(i);
String documentId = null;
-
if (n instanceof Element) {
documentId = ((Element) n).getAttributeNS(
- NodeSource.SOURCE_NS, "key");
+ NodeSource.SOURCE_NS, NodeSource.SOURCE_KEY);
}
if (bytes != null) {