jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ragy Eleish (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-217) class org.apache.jackrabbit.name.QName has a hardcoded dependency on Xerces
Date Fri, 16 Sep 2005 05:02:54 GMT
class org.apache.jackrabbit.name.QName has a hardcoded dependency on Xerces

         Key: JCR-217
         URL: http://issues.apache.org/jira/browse/JCR-217
     Project: Jackrabbit
        Type: Bug
    Versions: 1.0    
    Reporter: Ragy Eleish
    Priority: Critical

The class org.apache.jackrabbit.name.QName, has an unneeded dependency on Xerces which make
it difficult to work with the XML parser or ones choice.
The dependency (on line 246) is on the method "XMLChar.isValidNCName" only. I suggest one
of the following solutions
- Copy the implementation of this method to the QName class, it is a very simple implementation.
- Use the mehtod provided in JAXP 1.3 javax.xml.XMLUtils.isValidNCName, which will create
dependency on JAXP 1.3 though. JDK 1.5 ships with JAXP 1.3

This dependency is causing us alot of trouble since we need to use another parser that is
optimized for large XML data. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message