luetzkendorf 2004/11/29 10:44:30
Modified: src/share/org/apache/slide/extractor SimpleXmlExtractor.java
Log:
adaption to new PropertyName instance pooling
Revision Changes Path
1.10 +4 -4
jakarta-slide/src/share/org/apache/slide/extractor/SimpleXmlExtractor.java
Index: SimpleXmlExtractor.java
===================================================================
RCS file:
/home/cvs/jakarta-slide/src/share/org/apache/slide/extractor/SimpleXmlExtractor.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- SimpleXmlExtractor.java 17 Nov 2004 18:01:58 -0000 1.9
+++ SimpleXmlExtractor.java 29 Nov 2004 18:44:30 -0000 1.10
@@ -109,7 +109,7 @@
String property = instruction.getAttribute("property");
String namespace = instruction.getAttribute("namespace", "DAV:");
XPath xPath =
XPath.newInstance(instruction.getAttribute("xpath"));
- return new Instruction(xPath, new PropertyName(property,
namespace));
+ return new Instruction(xPath,
PropertyName.getPropertyName(property, namespace));
} catch (JDOMException e) {
throw new ConfigurationException("Could not create xPath from
given attribute", instruction);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]