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


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] XML processor behavior with unused NS declarations

> >>  <div xmlns:dc="http://purl.org/dc/elements/1.1/";>
> >>     <h2 property="dc:title">The trouble with Bob</h2>
> >>     <h3 property="dc:creator">Alice</h3>
> >>     ...
> >>  </div>
> >>
> >> there's no danger of the processor dropping the 'xmlns:dc' 
> >> correct?

> But note that the XML Canonicalization (used for preparing XML for
> crypotographic signatures and transmission to another party that wants
> to verify that the XML was not tampered with) will probably remove
> those namespace declarations.

Well, probably not.  XML Eclusive canonicalization (c14n) by itself would 
drop the declaration because it's not used in the <div> element. But the 
entity specifying the c14n, to be correct, would say to include the "dc" 
prefix -- in this case because the value of the property attribute is, 
apparently, a qname.


STSM, DataPower CTO
WebSphere Appliance Architect

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]

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

Copyright 1993-2007 XML.org. This site is hosted by OASIS