You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mr...@apache.org on 2005/06/21 00:39:52 UTC
cvs commit: xml-xerces/java/docs properties.xml features.xml
mrglavas 2005/06/20 15:39:52
Modified: java/docs properties.xml features.xml
Log:
In features/properties examples encourage setting of namespace awareness.
Revision Changes Path
1.19 +1 -0 xml-xerces/java/docs/properties.xml
Index: properties.xml
===================================================================
RCS file: /home/cvs/xml-xerces/java/docs/properties.xml,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- properties.xml 11 Feb 2005 17:24:48 -0000 1.18
+++ properties.xml 20 Jun 2005 22:39:52 -0000 1.19
@@ -34,6 +34,7 @@
import javax.xml.parsers.DocumentBuilder;
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+dbf.setNamespaceAware(true);
String id = "http://apache.org/xml/properties/dom/document-class-name";
Object value = "org.apache.xerces.dom.DocumentImpl";
1.49 +2 -0 xml-xerces/java/docs/features.xml
Index: features.xml
===================================================================
RCS file: /home/cvs/xml-xerces/java/docs/features.xml,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- features.xml 19 Jun 2005 22:02:49 -0000 1.48
+++ features.xml 20 Jun 2005 22:39:52 -0000 1.49
@@ -33,6 +33,8 @@
import javax.xml.parsers.DocumentBuilder;
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+dbf.setNamespaceAware(true);
+
try {
dbf.setFeature("http://apache.org/xml/features/allow-java-encodings",
true);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org