Re: [xml] Namespace normalization/reconciliation

On Fri, Jul 30, 2004 at 10:57:51AM +0100, Steve Hay wrote:
Petr Pajas wrote:
Maybe I'm wrong, but isn't C14N only a method of serializing a
document tree? If yes, then a function that would do the NS cleanup
directly on a live tree would still be very useful.

I agree.  In fact, I logged this as an enhancement request a while ago 
-- see

Hopefully, more people being interested in it will increase the chances 
of it getting done sometime.

  there is an 
          --nsclean : remove redundant namespace declarations
flag to xmllint, but it's actaully a parser option (XML_PARSE_NSCLEAN)
and there isn't really the same thing for tree. Usually those "cleanup"
operations are targetting parsing or serialization, but I understand
how they would also make sense for trees. It really isn't hard to implement
(2 functions needed to cope with entities references) but so far there
have been more urgent things to do than augmenting the API.

The information contained in this message and any files transmitted
with it are confidential and intended for the addressee(s) only.
If you have received this message in error or there are any problems,
please notify the sender immediately.  The unauthorized use, disclosure,
copying or alteration of this message is strictly forbidden.  Note that

  As explained many time already, those legal boileplate are completely
incompatible with the mailing list usage since we *must* archive, index
and make public the mails send there. Please fix on your end, or change
the email your sent from. We do not intend to comply to your restrictions,
that you're inflicting on the list users and maintainers, reread that
crap it's not acceptable really ! You can get that kind of garantee
in closed source (a.k.a. proprietary) environment, please indicate to
whoever put that policy forward that it's not compatible with common
open-source community work.


Daniel Veillard      | Red Hat Desktop team
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]