You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by gn...@apache.org on 2009/03/12 08:28:29 UTC

svn commit: r752789 - in /servicemix/smx4/specs/trunk: jaxp-api-1.3/src/main/java/org/xml/sax/helpers/XMLReaderFactory.java jaxp-api-1.4/src/main/java/org/xml/sax/helpers/XMLReaderFactory.java

Author: gnodet
Date: Thu Mar 12 07:28:28 2009
New Revision: 752789

URL: http://svn.apache.org/viewvc?rev=752789&view=rev
Log:
SMX4KNL-238: OsgiLocator doesn´t locate SAX driver by META-INF/services/org.xml.sax.driver

Modified:
    servicemix/smx4/specs/trunk/jaxp-api-1.3/src/main/java/org/xml/sax/helpers/XMLReaderFactory.java
    servicemix/smx4/specs/trunk/jaxp-api-1.4/src/main/java/org/xml/sax/helpers/XMLReaderFactory.java

Modified: servicemix/smx4/specs/trunk/jaxp-api-1.3/src/main/java/org/xml/sax/helpers/XMLReaderFactory.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxp-api-1.3/src/main/java/org/xml/sax/helpers/XMLReaderFactory.java?rev=752789&r1=752788&r2=752789&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxp-api-1.3/src/main/java/org/xml/sax/helpers/XMLReaderFactory.java (original)
+++ servicemix/smx4/specs/trunk/jaxp-api-1.3/src/main/java/org/xml/sax/helpers/XMLReaderFactory.java Thu Mar 12 07:28:28 2009
@@ -124,7 +124,7 @@
             
 	        try {
 	            // If we are deployed into an OSGi environment, leverage it
-	            Class spiClass = org.apache.servicemix.specs.locator.OsgiLocator.locate(service);
+	            Class spiClass = org.apache.servicemix.specs.locator.OsgiLocator.locate(property);
 	            if (spiClass != null) {
 	                return (XMLReader) spiClass.newInstance();
 	            }

Modified: servicemix/smx4/specs/trunk/jaxp-api-1.4/src/main/java/org/xml/sax/helpers/XMLReaderFactory.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxp-api-1.4/src/main/java/org/xml/sax/helpers/XMLReaderFactory.java?rev=752789&r1=752788&r2=752789&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxp-api-1.4/src/main/java/org/xml/sax/helpers/XMLReaderFactory.java (original)
+++ servicemix/smx4/specs/trunk/jaxp-api-1.4/src/main/java/org/xml/sax/helpers/XMLReaderFactory.java Thu Mar 12 07:28:28 2009
@@ -123,7 +123,7 @@
             
 	        try {
 	            // If we are deployed into an OSGi environment, leverage it
-	            Class spiClass = org.apache.servicemix.specs.locator.OsgiLocator.locate(service);
+	            Class spiClass = org.apache.servicemix.specs.locator.OsgiLocator.locate(property);
 	            if (spiClass != null) {
 	                return (XMLReader) spiClass.newInstance();
 	            }