Re: Problem in exclusive canonicalization? encoding underspecified

>>The document says "namespace nodes that are not on the
>>InclusiveNamespaces PrefixList are expressed only in start tags
>>where they are visible and if they are not in effect from an output
>>ancestor of that tag."

> I would love to know what that quoted paragraph means.  The various
> times I've tried to read and understand it, it rolled off my mind
> like water off a sheep's fur.  Can anyone translate?

It means this:
     for all xmlns:XXX in the element
        IF xmlns:XXX not already in output with the same value
        and (one of the element's attributes uses the XXX namespace 
prefix OR the XXX prefix is in the PrefixList)
        THEN
             output the xmlns:XXX declaration
        FI
      END FOR

-- 
Rich Salz, Chief Security Architect
DataPower Technology                           http://www.datapower.com
XS40 XML Security Gateway   http://www.datapower.com/products/xs40.html
XML Security Overview  http://www.datapower.com/xmldev/xmlsecurity.html

Received on Monday, 30 June 2003 15:29:49 UTC