You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Lucian Holland <le...@decisionsoft.com> on 2004/01/23 13:29:31 UTC

Serializer questions

Hi,

We're using Xerces as part of a product we're developing, and we'd ideally 
like to be able to use the DOM3 Serialization code to handle serialization 
rather than going through the Xerces-specific classes. There are currently 
a couple of issues that are preventing us from doing this, and I was just 
wondering if it was possible to get an indication of whether these were 
likely to be addressed for the upcoming release, so that we can decide 
whether or not to switch back to using the Xerces-specific serialization 
code.

The first is one that I have raised as a bug (26157) - writeToURI and
write methods don't appear to be able to handle file URIs. I have 
submitted a patch of sorts for this.

The second is that the "format-pretty-print" configuration does not 
currently appear to be supported, although the XMLSerializer does seem to 
support something like this through the OutputFormat object. Is this 
likely to be supported at any time in the near future?

Many thanks,

Lucian

-- 
Lucian Holland, Software Engineer      +44-1865-203192
DecisionSoft Limited                   http://www.decisionsoft.com
XML Development and Services



---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org


Re: Serializer questions

Posted by Michael Glavassevich <mr...@apache.org>.
Hi Lucian,

I've put a fix in CVS for Bugzilla 26157. I don't know what the plans are
for 'format-pretty-print' but given that we want to release Xerces next
week it's not likely to be in this release.

On Fri, 23 Jan 2004, Lucian Holland wrote:

> Hi,
>
> We're using Xerces as part of a product we're developing, and we'd ideally
> like to be able to use the DOM3 Serialization code to handle serialization
> rather than going through the Xerces-specific classes. There are currently
> a couple of issues that are preventing us from doing this, and I was just
> wondering if it was possible to get an indication of whether these were
> likely to be addressed for the upcoming release, so that we can decide
> whether or not to switch back to using the Xerces-specific serialization
> code.
>
> The first is one that I have raised as a bug (26157) - writeToURI and
> write methods don't appear to be able to handle file URIs. I have
> submitted a patch of sorts for this.
>
> The second is that the "format-pretty-print" configuration does not
> currently appear to be supported, although the XMLSerializer does seem to
> support something like this through the OutputFormat object. Is this
> likely to be supported at any time in the near future?
>
> Many thanks,
>
> Lucian

---------------------------
Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@ca.ibm.com
E-mail: mrglavas@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org