Hi Stuart,
Stuart Rossiter wrote:
> Hi. With the latest XStream 1.4.4 (on Windows with Java 6), using the StAX
> driver instead of the XPP3 or JAXP DOM one means that toXML includes the
> XML declaration (<?xml version="1.0"?>) *and* doesn't pretty-print the
> string. The other drivers work fine.
>
> This looks like a consistency bug, given that the declaration should never
> be written, and it should always be pretty-printed. However, the JIRA
> log-in link doesn't allow me to request a userid as the XStream pages
> suggest. (It says 'contact your JIRA admin'.)
>
> So:
> (a) Is this a bug? (Browsing JIRA suggests none registered.)
No. Actually we normally have only XML parsers, but StAX is the one of the
view XML frameworks that also includes a writer. And XStream is using the
defaults of the framework. Note, that the default for all the other parsers
(PrettyPrintWriter of XStream) does not support namespaces.
> (b) Can I have JIRA access to register it if so?
You need now an account on xircles.codehaus.org, but since you write to this
list, you should already have one. The instructions are already updated, but
the new docus are not yet published. Sorry for the inconvenience. :)
Cheers,
Jörg
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email