Author: mrglavas
Date: Mon Jan 25 05:09:04 2010
New Revision: 902707

URL: http://svn.apache.org/viewvc?rev=902707&view=rev
Log:
Commenting out a couple of setProperty() calls which are always unnecessary 
with Xerces.

Modified:
    xerces/java/trunk/samples/dom/DOM3.java
    xerces/java/trunk/samples/xs/QueryXS.java

Modified: xerces/java/trunk/samples/dom/DOM3.java
URL: 
http://svn.apache.org/viewvc/xerces/java/trunk/samples/dom/DOM3.java?rev=902707&r1=902706&r2=902707&view=diff
==============================================================================
--- xerces/java/trunk/samples/dom/DOM3.java (original)
+++ xerces/java/trunk/samples/dom/DOM3.java Mon Jan 25 05:09:04 2010
@@ -59,7 +59,7 @@
         try {
 
             // get DOM Implementation using DOM Registry
-            
System.setProperty(DOMImplementationRegistry.PROPERTY,"org.apache.xerces.dom.DOMXSImplementationSourceImpl");
+            // 
System.setProperty(DOMImplementationRegistry.PROPERTY,"org.apache.xerces.dom.DOMXSImplementationSourceImpl");
             DOMImplementationRegistry registry =
                 DOMImplementationRegistry.newInstance();
 

Modified: xerces/java/trunk/samples/xs/QueryXS.java
URL: 
http://svn.apache.org/viewvc/xerces/java/trunk/samples/xs/QueryXS.java?rev=902707&r1=902706&r2=902707&view=diff
==============================================================================
--- xerces/java/trunk/samples/xs/QueryXS.java (original)
+++ xerces/java/trunk/samples/xs/QueryXS.java Mon Jan 25 05:09:04 2010
@@ -57,9 +57,9 @@
 
         try {
             // get DOM Implementation using DOM Registry
-            System.setProperty(
-                DOMImplementationRegistry.PROPERTY,
-                "org.apache.xerces.dom.DOMXSImplementationSourceImpl");
+            // System.setProperty(
+            //    DOMImplementationRegistry.PROPERTY,
+            //    "org.apache.xerces.dom.DOMXSImplementationSourceImpl");
             DOMImplementationRegistry registry = 
DOMImplementationRegistry.newInstance();
 
             XSImplementation impl = (XSImplementation) 
registry.getDOMImplementation("XS-Loader");



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to