Re: reagle-01, reagle-02 issues

>>>Jeremy Carroll said:

> Dave said:
> > From my experience, I think preserving comments will be tricky to
> > implement on top of the C SAX API so slightly prefer not preserving
> > them.  I will investigate, however.   I have no preference on the
> > namespaces.
> 
> If the comments are hard in some environments let's ditch them.

I checked and both main C XML parsers I use in Raptor and they do
support comments via the SAX API.  However, neither support any form
of XML canonicalization via the SAX API (libxml does via DOM however)

In order to handle both, I would have to write a SAX-based XML
canonicalization myself and consequently I would prefer whichever is
easiest to write :)  The other alternative is to only provide C14N
when used with libxml and use its C14N DOM interface to do the hard
work.

<snip/>

> I would have thought quite a lot already canonicalize anyway - if you do not
> worry about resources that is the easiest path; and I would be surprised if
> many do much with not visibly used namespaces.
> 
> Do we know?
>
> If we were to make a change we should IMO ask the parser implementors who
> have declared victory for their input.

Certainly.  I suspect it depends mostly on what XML parser C14N
implementations are available per language.

Dave

Received on Tuesday, 25 February 2003 10:57:42 UTC