You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Stefan Guggisberg (JIRA)" <ji...@apache.org> on 2005/09/16 11:12:57 UTC
[jira] Updated: (JCR-217) class org.apache.jackrabbit.name.QName has a hardcoded dependency on Xerces
[ http://issues.apache.org/jira/browse/JCR-217?page=all ]
Stefan Guggisberg updated JCR-217:
----------------------------------
type: Improvement (was: Bug)
Priority: Minor (was: Critical)
Changing issue type/priority to "Improvement/Minor" since this is clearly not a bug.
frankly i don't see a problem with the current implementation but if the majority
considers the xerces dependency a problem i wouldn't be against removing it. however,
adding a dependency to jaxp 1.3 could imo be a problem because of licensing issues
(correct me if i am wrong).
> 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: Improvement
> Versions: 1.0
> Reporter: Ragy Eleish
> Priority: Minor
>
> 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:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira