W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > January to March 2001

##other for anyAttribute

From: James Clark <jjc@jclark.com>
Date: Wed, 07 Feb 2001 13:50:07 +0700
Message-ID: <3A80F01F.717B6492@jclark.com>
To: XML Schema Comments <www-xml-schema-comments@w3.org>
I was trying to figure out what 

 <anyAttribute namespace="##other"/>

means.  Suppose my target namespace is "http://www.example.com", and
suppose I have an element "foo" in that namespace which declares
<anyAttribute namespace="##other"/>.

My reading of the spec was that:

  <eg:foo eg:xyzzy="whatever" xmlns:eg="http://www.example.com"/>

would not be valid, but

  <eg:foo xyzzy="whatever"/>

would be valid, which is not what I would expect (and apparently not
what XSV implements).  So I guess I'm missing something in the spec.

James
Received on Wednesday, 7 February 2001 01:51:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:12:49 GMT