[ 
http://issues.apache.org/jira/browse/JCR-367?page=comments#action_12418041 ] 

Jukka Zitting commented on JCR-367:
-----------------------------------

> Use JAXP Transformer (yes it is part of the Java Runtime siince 1.4) for 
> export

We should be careful with especially namespaces being correctly transmitted 
through the Transformer interface. There are a few bug reports about the same 
issue earlier on.

> Copy XMLChar to o.a.j.util. Yes, this is not the best of all solutions, but 
> it removes the dependency and XMLChar is Apache, too.

Agreed. Not nice, but not too bad either.

> Remains the o.a.j.c.nodetype.converter package which contains a XML Schema to 
> node type converter.
> This is probably not a tool, which is run on a casual server implementation. 
> Therefore, leaving the dependency
> there and documenting is probably ok. Better would probably be to take this 
> out fo the core repository package,
> not sure, though.

The XML Schema converter was included in core when I merged the CND support 
from contrib. It really should be outside the core unless we want to support 
direct XML Schema imports through registerNodeTypes().

I've also been thinking about replacing the converter with an XSL 
transformation. Any takers?


> Remove dependency on Xerces
> ---------------------------
>
>          Key: JCR-367
>          URL: http://issues.apache.org/jira/browse/JCR-367
>      Project: Jackrabbit
>         Type: Improvement

>   Components: xml
>     Reporter: Michael Young

>
> Classloaders in certain J2EE servers do not play well with the Xerces 
> requirement

-- 
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

Reply via email to