dev@fi.java.net

Re: Samples need updating

From: Joe Wang <joe.wang_at_sun.com>
Date: Mon, 28 Feb 2005 17:04:26 -0800

Paul Sandoz wrote:

>>
>> - The DOM example and the use of a transform does not represent FI
>> best practices because the use of the transformer is slow. My
>> preference would be to remove this from the sax package and then add
>> a new package called 'transform' where samples using transforming to
>> and from various sources can be used and where we can state
>> advantages/disadvantages.
>>
> We don't have DOM examples currently, do we? Or are you referring to
> the ones under tools package, not fi/samples?
> For the ones under fi/samples, I'll remove the dependencies on the
> transformer, and create a transform package.
>
Did you also want to repackage com.sun.xml.fastinfoset.tools package to
remove dependencies on the transformer, and create a transform package?

Joe

>> - The DOM serializing example is broken since the BuilderFactory does
>> not turn on namespaces. Once this is done you will find that it does
>> not work. Alan, has found an issue with using DOMSource or SAXSource
>> to SAXResult when namespaces are present.
>
>
> Are you referring to samples.sax.FISerializer or
> tools.FI_DOM_Or_XML_DOM_SAX_SAXEvent? Your next email said it's fixed,
> and I noticed FI_DOM_Or_XML_DOM_SAX_SAXEvent had been changed.
>
> Joe
>
>>
>> Paul.
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_fi.dev.java.net
> For additional commands, e-mail: dev-help_at_fi.dev.java.net
>