[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] xml-exc-c14n [Re: RelaxNG question
On Sunday, Aug 24, 2003, at 19:05 Europe/Berlin, Rich Salz wrote: >> My current favourite example is Exclusive XML Canonicalisation >> (http://www.w3.org/TR/xml-exc-c14n/). >> >> The complexity created by namespace inheritance oozes out of every >> paragraph. > when one reads passages like the one which defines the terms "apex" and "orphan", one may be led to consider whether the apparent complexity is inherent in the subject matter. is there a collection of normative test cases for exclusive canonicalization beyond the few examples in the recommendation document? > Indeed; EXC-C14N is all about handling namespace inheritance, ? is it about handling inheritance or about undoing the effects of model transformations which purport to eliminate inheritance. > and > what happens when you embed one piece of XML inside another, such as > carrying a message in SOAP. > > I like namespaces. I really dislike canonicalization; I've done two > implementations (including a free one in Python that is part of PyXML) > of both C14N and EXC-C14N, and I try to leave the room if anyone finds > a bug in the code. :( ? canonicalization is not that hard if one does not have to undo the effects of "flattening" the namespace context. > > Folks proposing alternatives to namespaces might find it worthwhile to > look at the XML C14N spec and figure out how their alternatives can be > made to meet the same requirements. (A global index of prefixes is > pretty easy, of course.) > note to the editors: i am surprised that xmlns="" is not handled differently in the apex element. it would be nice to be able to test this on normative examples. are there any? ...
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|