[XML-SIG] Canonicalizing XML

Sjoerd Mullender sjoerd.mullender@oratrix.com
Mon, 23 Apr 2001 20:02:16 +0200


Ah, there is a recommendation.  In other words, no, I didn't follow the
C14N recommendation.  I emulated the output of the XML test suite.  I
forget where that came from, but I'm sure I can find out.
The test suite doesn't deal with namespaces since it's not for testing
the XML Namespace rec.

No, you don't need a DTD.

Rich Salz wrote:
> 
> > I've written a validating XML parser in Python that can produce
> > Canonical XML.
> 
> As in the XML C14N recommendation?  It seems to do something else.  For
> example, all namespace attributes are removed.
> 
> > I'll attach it.  Usage (for getting Canonical XML):
> >
> >         python fxmllib.py -c file.xml
> 
> Do I need a DTD?
>         /r$