[ 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 ([EMAIL PROTECTED]) 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to