OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Why not canonical parsers? [Was: Pull-based XML parsers? ]

[ Lists Home | Date Index | Thread Index ]
  • From: Ronald Bourret <rpbourret@rpbourret.com>
  • To: Miloslav Nic <nicmila@idoox.com>
  • Date: Fri, 10 Nov 2000 09:10:25 -0800

Miloslav Nic wrote:
> If there are some problems just state:
> 
> our device requires canonical XML:
> http://www.w3.org/TR/2000/CR-xml-c14n-20001026

I don't think you can do quite that -- canonical XML is a post-parse
form. For example, if you replace CDATA sections with their data, then
the document:

   <A><[CDATA[ < ]]></A>

becomes:

   <A> < </A>

which is not suitable for sending to somebody -- they'll get an error
parsing it.

-- 
Ronald Bourret
Programming, Writing, and Training
XML, Databases, and Schemas
http://www.rpbourret.com




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS