You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Cagatay Kavukcuoglu (JIRA)" <xa...@xml.apache.org> on 2006/01/29 21:23:35 UTC
[jira] Created: (XALANJ-2263) Xerces XPath factory can not be found
through META-INF/services/javax.xml.xpath.XPathFactory file
Xerces XPath factory can not be found through META-INF/services/javax.xml.xpath.XPathFactory file
-------------------------------------------------------------------------------------------------
Key: XALANJ-2263
URL: http://issues.apache.org/jira/browse/XALANJ-2263
Project: XalanJ2
Type: Bug
Components: JAXP
Versions: 2.7
Environment: JDK 1.5.0_06
Reporter: Cagatay Kavukcuoglu
Priority: Minor
The existing META-INF/services/javax.xml.xpath.XPathFactory file does not conform to the format expected by the XPathFactory.newInstance() method. This file should have a list of key value pairs, each key being a URI of a object model supported by the implementation. Here's the JAXP debug statements after running a test program with -Djaxp.debug:
JAXP: using thread context class loader (sun.misc.Launcher$AppClassLoader@133056f) for search
JAXP: Looking up system property 'javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom'
JAXP: The property is undefined.
JAXP: found null in $java.home/jaxp.properties
JAXP: looking into file:/C:/Dev/projects/personal/pacific.common/bin/META-INF/services/javax.xml.xpath.XPathFactory
JAXP: Reading file:/C:/Dev/projects/personal/pacific.common/bin/META-INF/services/javax.xml.xpath.XPathFactory
JAXP: http://java.sun.com/jaxp/xpath/dom is not in the property file
JAXP: looking into jar:file:/C:/Dev/lib/xalan-j/xalan.jar!/META-INF/services/javax.xml.xpath.XPathFactory
JAXP: Reading jar:file:/C:/Dev/lib/xalan-j/xalan.jar!/META-INF/services/javax.xml.xpath.XPathFactory
JAXP: http://java.sun.com/jaxp/xpath/dom is not in the property file
JAXP: attempting to use the platform default W3C DOM XPath lib
JAXP: instanciating com.sun.org.apache.xpath.internal.jaxp.XPathFactoryImpl
JAXP: loaded it from jar:file:/C:/Dev/java/sdk/1.5/jre/lib/rt.jar!/com/sun/org/apache/xpath/internal/jaxp/XPathFactoryImpl.class
JAXP: factory 'com.sun.org.apache.xpath.internal.jaxp.XPathFactoryImpl' was found for http://java.sun.com/jaxp/xpath/dom
The contents of this file should be:
http\://java.sun.com/jaxp/xpath/dom=org.apache.xpath.jaxp.XPathFactoryImpl
instead of just the class name for XPathFactory implementation.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org
[jira] Commented: (XALANJ-2263) Xerces XPath factory can not be
found through META-INF/services/javax.xml.xpath.XPathFactory file
Posted by "Cagatay Kavukcuoglu (JIRA)" <xa...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XALANJ-2263?page=comments#action_12364465 ]
Cagatay Kavukcuoglu commented on XALANJ-2263:
---------------------------------------------
Well, that sets me right. Thanks.
> Xerces XPath factory can not be found through META-INF/services/javax.xml.xpath.XPathFactory file
> -------------------------------------------------------------------------------------------------
>
> Key: XALANJ-2263
> URL: http://issues.apache.org/jira/browse/XALANJ-2263
> Project: XalanJ2
> Type: Bug
> Components: JAXP
> Versions: 2.7
> Environment: JDK 1.5.0_06
> Reporter: Cagatay Kavukcuoglu
> Priority: Minor
> Attachments: XalanXPathTest.java
>
> The existing META-INF/services/javax.xml.xpath.XPathFactory file does not conform to the format expected by the XPathFactory.newInstance() method. This file should have a list of key value pairs, each key being a URI of a object model supported by the implementation. Here's the JAXP debug statements after running a test program with -Djaxp.debug:
> JAXP: using thread context class loader (sun.misc.Launcher$AppClassLoader@133056f) for search
> JAXP: Looking up system property 'javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom'
> JAXP: The property is undefined.
> JAXP: found null in $java.home/jaxp.properties
> JAXP: looking into file:/C:/Dev/projects/personal/pacific.common/bin/META-INF/services/javax.xml.xpath.XPathFactory
> JAXP: Reading file:/C:/Dev/projects/personal/pacific.common/bin/META-INF/services/javax.xml.xpath.XPathFactory
> JAXP: http://java.sun.com/jaxp/xpath/dom is not in the property file
> JAXP: looking into jar:file:/C:/Dev/lib/xalan-j/xalan.jar!/META-INF/services/javax.xml.xpath.XPathFactory
> JAXP: Reading jar:file:/C:/Dev/lib/xalan-j/xalan.jar!/META-INF/services/javax.xml.xpath.XPathFactory
> JAXP: http://java.sun.com/jaxp/xpath/dom is not in the property file
> JAXP: attempting to use the platform default W3C DOM XPath lib
> JAXP: instanciating com.sun.org.apache.xpath.internal.jaxp.XPathFactoryImpl
> JAXP: loaded it from jar:file:/C:/Dev/java/sdk/1.5/jre/lib/rt.jar!/com/sun/org/apache/xpath/internal/jaxp/XPathFactoryImpl.class
> JAXP: factory 'com.sun.org.apache.xpath.internal.jaxp.XPathFactoryImpl' was found for http://java.sun.com/jaxp/xpath/dom
> The contents of this file should be:
> http\://java.sun.com/jaxp/xpath/dom=org.apache.xpath.jaxp.XPathFactoryImpl
> instead of just the class name for XPathFactory implementation.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org
[jira] Resolved: (XALANJ-2263) Xerces XPath factory can not be
found through META-INF/services/javax.xml.xpath.XPathFactory file
Posted by "Brian Minchau (JIRA)" <xa...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XALANJ-2263?page=all ]
Brian Minchau resolved XALANJ-2263:
-----------------------------------
Resolution: Later
The fix is in the xml-apis.jar that will be picked up later by Xalan in its distributtion.
If this resolution is not acceptable, please re-open the issue.
> Xerces XPath factory can not be found through META-INF/services/javax.xml.xpath.XPathFactory file
> -------------------------------------------------------------------------------------------------
>
> Key: XALANJ-2263
> URL: http://issues.apache.org/jira/browse/XALANJ-2263
> Project: XalanJ2
> Type: Bug
> Components: JAXP
> Versions: 2.7
> Environment: JDK 1.5.0_06
> Reporter: Cagatay Kavukcuoglu
> Priority: Minor
> Attachments: XalanXPathTest.java
>
> The existing META-INF/services/javax.xml.xpath.XPathFactory file does not conform to the format expected by the XPathFactory.newInstance() method. This file should have a list of key value pairs, each key being a URI of a object model supported by the implementation. Here's the JAXP debug statements after running a test program with -Djaxp.debug:
> JAXP: using thread context class loader (sun.misc.Launcher$AppClassLoader@133056f) for search
> JAXP: Looking up system property 'javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom'
> JAXP: The property is undefined.
> JAXP: found null in $java.home/jaxp.properties
> JAXP: looking into file:/C:/Dev/projects/personal/pacific.common/bin/META-INF/services/javax.xml.xpath.XPathFactory
> JAXP: Reading file:/C:/Dev/projects/personal/pacific.common/bin/META-INF/services/javax.xml.xpath.XPathFactory
> JAXP: http://java.sun.com/jaxp/xpath/dom is not in the property file
> JAXP: looking into jar:file:/C:/Dev/lib/xalan-j/xalan.jar!/META-INF/services/javax.xml.xpath.XPathFactory
> JAXP: Reading jar:file:/C:/Dev/lib/xalan-j/xalan.jar!/META-INF/services/javax.xml.xpath.XPathFactory
> JAXP: http://java.sun.com/jaxp/xpath/dom is not in the property file
> JAXP: attempting to use the platform default W3C DOM XPath lib
> JAXP: instanciating com.sun.org.apache.xpath.internal.jaxp.XPathFactoryImpl
> JAXP: loaded it from jar:file:/C:/Dev/java/sdk/1.5/jre/lib/rt.jar!/com/sun/org/apache/xpath/internal/jaxp/XPathFactoryImpl.class
> JAXP: factory 'com.sun.org.apache.xpath.internal.jaxp.XPathFactoryImpl' was found for http://java.sun.com/jaxp/xpath/dom
> The contents of this file should be:
> http\://java.sun.com/jaxp/xpath/dom=org.apache.xpath.jaxp.XPathFactoryImpl
> instead of just the class name for XPathFactory implementation.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org
[jira] Commented: (XALANJ-2263) Xerces XPath factory can not be
found through META-INF/services/javax.xml.xpath.XPathFactory file
Posted by "Cagatay Kavukcuoglu (JIRA)" <xa...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XALANJ-2263?page=comments#action_12364395 ]
Cagatay Kavukcuoglu commented on XALANJ-2263:
---------------------------------------------
Here's better output from JAXP debug, the previous log included a lookup from a broken copy of the META-INF/services/javax.xml.xpath.XPathFactory file in my development workspace:
JAXP: using thread context class loader (sun.misc.Launcher$AppClassLoader@133056f) for search
JAXP: Looking up system property 'javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom'
JAXP: The property is undefined.
JAXP: found null in $java.home/jaxp.properties
JAXP: looking into jar:file:/C:/Dev/lib/xalan-j/xalan.jar!/META-INF/services/javax.xml.xpath.XPathFactory
JAXP: Reading jar:file:/C:/Dev/lib/xalan-j/xalan.jar!/META-INF/services/javax.xml.xpath.XPathFactory
JAXP: http://java.sun.com/jaxp/xpath/dom is not in the property file
JAXP: attempting to use the platform default W3C DOM XPath lib
JAXP: instanciating com.sun.org.apache.xpath.internal.jaxp.XPathFactoryImpl
JAXP: loaded it from jar:file:/C:/Dev/java/sdk/1.5/jre/lib/rt.jar!/com/sun/org/apache/xpath/internal/jaxp/XPathFactoryImpl.class
JAXP: factory 'com.sun.org.apache.xpath.internal.jaxp.XPathFactoryImpl' was found for http://java.sun.com/jaxp/xpath/dom
> Xerces XPath factory can not be found through META-INF/services/javax.xml.xpath.XPathFactory file
> -------------------------------------------------------------------------------------------------
>
> Key: XALANJ-2263
> URL: http://issues.apache.org/jira/browse/XALANJ-2263
> Project: XalanJ2
> Type: Bug
> Components: JAXP
> Versions: 2.7
> Environment: JDK 1.5.0_06
> Reporter: Cagatay Kavukcuoglu
> Priority: Minor
> Attachments: XalanXPathTest.java
>
> The existing META-INF/services/javax.xml.xpath.XPathFactory file does not conform to the format expected by the XPathFactory.newInstance() method. This file should have a list of key value pairs, each key being a URI of a object model supported by the implementation. Here's the JAXP debug statements after running a test program with -Djaxp.debug:
> JAXP: using thread context class loader (sun.misc.Launcher$AppClassLoader@133056f) for search
> JAXP: Looking up system property 'javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom'
> JAXP: The property is undefined.
> JAXP: found null in $java.home/jaxp.properties
> JAXP: looking into file:/C:/Dev/projects/personal/pacific.common/bin/META-INF/services/javax.xml.xpath.XPathFactory
> JAXP: Reading file:/C:/Dev/projects/personal/pacific.common/bin/META-INF/services/javax.xml.xpath.XPathFactory
> JAXP: http://java.sun.com/jaxp/xpath/dom is not in the property file
> JAXP: looking into jar:file:/C:/Dev/lib/xalan-j/xalan.jar!/META-INF/services/javax.xml.xpath.XPathFactory
> JAXP: Reading jar:file:/C:/Dev/lib/xalan-j/xalan.jar!/META-INF/services/javax.xml.xpath.XPathFactory
> JAXP: http://java.sun.com/jaxp/xpath/dom is not in the property file
> JAXP: attempting to use the platform default W3C DOM XPath lib
> JAXP: instanciating com.sun.org.apache.xpath.internal.jaxp.XPathFactoryImpl
> JAXP: loaded it from jar:file:/C:/Dev/java/sdk/1.5/jre/lib/rt.jar!/com/sun/org/apache/xpath/internal/jaxp/XPathFactoryImpl.class
> JAXP: factory 'com.sun.org.apache.xpath.internal.jaxp.XPathFactoryImpl' was found for http://java.sun.com/jaxp/xpath/dom
> The contents of this file should be:
> http\://java.sun.com/jaxp/xpath/dom=org.apache.xpath.jaxp.XPathFactoryImpl
> instead of just the class name for XPathFactory implementation.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org
[jira] Commented: (XALANJ-2263) Xerces XPath factory can not be
found through META-INF/services/javax.xml.xpath.XPathFactory file
Posted by "Michael Glavassevich (JIRA)" <xa...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XALANJ-2263?page=comments#action_12364442 ]
Michael Glavassevich commented on XALANJ-2263:
----------------------------------------------
This is a bug in JAXP [1] not in Xalan. See the discussion on this problem here [2] and here [3]. The bug has been fixed in the Apache version of the JAXP 1.3 APIs.
[1] http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6202043
[2] http://marc.theaimsgroup.com/?l=xml-commons-dev&m=111898640501739&w=2
[3] http://marc.theaimsgroup.com/?l=xml-commons-dev&m=111929242603968&w=2
> Xerces XPath factory can not be found through META-INF/services/javax.xml.xpath.XPathFactory file
> -------------------------------------------------------------------------------------------------
>
> Key: XALANJ-2263
> URL: http://issues.apache.org/jira/browse/XALANJ-2263
> Project: XalanJ2
> Type: Bug
> Components: JAXP
> Versions: 2.7
> Environment: JDK 1.5.0_06
> Reporter: Cagatay Kavukcuoglu
> Priority: Minor
> Attachments: XalanXPathTest.java
>
> The existing META-INF/services/javax.xml.xpath.XPathFactory file does not conform to the format expected by the XPathFactory.newInstance() method. This file should have a list of key value pairs, each key being a URI of a object model supported by the implementation. Here's the JAXP debug statements after running a test program with -Djaxp.debug:
> JAXP: using thread context class loader (sun.misc.Launcher$AppClassLoader@133056f) for search
> JAXP: Looking up system property 'javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom'
> JAXP: The property is undefined.
> JAXP: found null in $java.home/jaxp.properties
> JAXP: looking into file:/C:/Dev/projects/personal/pacific.common/bin/META-INF/services/javax.xml.xpath.XPathFactory
> JAXP: Reading file:/C:/Dev/projects/personal/pacific.common/bin/META-INF/services/javax.xml.xpath.XPathFactory
> JAXP: http://java.sun.com/jaxp/xpath/dom is not in the property file
> JAXP: looking into jar:file:/C:/Dev/lib/xalan-j/xalan.jar!/META-INF/services/javax.xml.xpath.XPathFactory
> JAXP: Reading jar:file:/C:/Dev/lib/xalan-j/xalan.jar!/META-INF/services/javax.xml.xpath.XPathFactory
> JAXP: http://java.sun.com/jaxp/xpath/dom is not in the property file
> JAXP: attempting to use the platform default W3C DOM XPath lib
> JAXP: instanciating com.sun.org.apache.xpath.internal.jaxp.XPathFactoryImpl
> JAXP: loaded it from jar:file:/C:/Dev/java/sdk/1.5/jre/lib/rt.jar!/com/sun/org/apache/xpath/internal/jaxp/XPathFactoryImpl.class
> JAXP: factory 'com.sun.org.apache.xpath.internal.jaxp.XPathFactoryImpl' was found for http://java.sun.com/jaxp/xpath/dom
> The contents of this file should be:
> http\://java.sun.com/jaxp/xpath/dom=org.apache.xpath.jaxp.XPathFactoryImpl
> instead of just the class name for XPathFactory implementation.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org