W3C home > Mailing lists > Public > www-xml-canonicalization-comments@w3.org > June 2000

Re: c14n messes up qnames in attribute values

From: Kevin Regan <kevinr@valicert.com>
Date: Thu, 1 Jun 2000 16:31:53 -0700
Message-ID: <27FF4FAEA8CDD211B97E00902745CBE2013D2401@seine.valicert.com>
To: www-xml-canonicalization-comments@w3.org

I'm looking at the XML Namespaces spec (section 3 & 4) and it
seems that QNames can only be used as attribute names, not
values.  Can you point me to a section in the spec that gives an
example of what you are doing?

Thanks,
Kevin Regan
ValiCert, Inc.
kevinr@valicert.com


At 11:33 AM 3/20/00 -0600, Dan Connolly wrote:
>the canonical form of:
>
><aDoc xmlns:aPrefix="<http://example.com/>">
><anElt anAttr="aPrefix:anNCName">
></aDoc>
>
>is:
>
><n1:aDoc xmlns:n1="<http://example.com/>">
><n1:anElt xmlns:n1="<http://example.com/>" anAttr="aPrefix:anNCName">
></n1:aDoc>
>
>Note that aPrefix in the attr value didn't get changed to n1.

I hate to say that I told you so, but... -Tim




Received on Thursday, 1 June 2000 19:37:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 6 December 2006 18:08:09 GMT