jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: [jira] Commented: (JCR-367) Remove dependency on Xerces
Date Wed, 28 Jun 2006 08:12:39 GMT
Hi,

On 6/28/06, Felix Meschberger <fmeschbe@gmail.com> 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/ - info@yukatan.fi
Software craftsmanship, JCR consulting, and Java development

Mime
View raw message