Hi,

On 6/28/06, Felix Meschberger <[EMAIL PROTECTED]> wrote:
> > 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.

Do you have some concrete examples in mind ? Maybe those bugs are less
problematic than the Xerces inclusion.

Sorry for not being too specific, I didn't have time to trace proper
references. See the thread at [1] from a year ago. The problem was
about StreamSource -> DomResult conversions, where namespace prefixes
were lost unless the SAX parser's
"http://xml.org/sax/features/namespace-prefixes"; property was set. No
that I think of it I don't believe that this will be a problem for
JCR-367, since I think that Xerces is only used directly to serialize
XML, not to parse it.

[1] http://article.gmane.org/gmane.comp.apache.jackrabbit.devel/1952

BR,

Jukka Zitting

--
Yukatan - http://yukatan.fi/ - [EMAIL PROTECTED]
Software craftsmanship, JCR consulting, and Java development

Reply via email to