W3C home > Mailing lists > Public > w3c-rdfcore-wg@w3.org > February 2003

Re: reagle-01, reagle-02 issues

From: Dave Beckett <dave.beckett@bristol.ac.uk>
Date: Tue, 25 Feb 2003 15:53:53 +0000
To: Jeremy Carroll <jjc@hplb.hpl.hp.com>
cc: w3c-rdfcore-wg <w3c-rdfcore-wg@w3.org>
Message-ID: <13679.1046188433@hoth.ilrt.bris.ac.uk>

>>>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


> 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.

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:24:20 UTC