- From: Mukul Gandhi <gandhi.mukul@gmail.com>
- Date: Fri, 12 Nov 2010 16:09:28 +0530
- To: Neil Beddoe <Neil.Beddoe@raidllp.com>
- Cc: "xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
On Fri, Nov 12, 2010 at 3:01 PM, Neil Beddoe <Neil.Beddoe@raidllp.com> wrote: > I've also discovered from this article http://msdn.microsoft.com/en-us/magazine/cc302166.aspx that attributes must be fully qualified and aren't mapped by an xmlns="... declaration like elements are. I don't think it's *absolutely necessary* for attributes to be namespace qualified (i.e they can validly be in null namespace), when participating in XML schema validation. They follow same rules as XML elements for namespace qualification, and it's controlled by instruction attributeFormDefault (which has a default value of "unqualified") in a schema document. But to have XML attributes in non null namespace, I think their schema definitions must be imported (in 1.0 mode) from another schema (via xs:import). -- Regards, Mukul Gandhi
Received on Friday, 12 November 2010 10:40:17 UTC