|
[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: redefine and target namespace
From: Michael Kay <mike@saxonica.com>
Date: Sun, 25 Oct 2009 18:51:17 -0000 To: <lists@fgeorges.org>, <xmlschema-dev@w3.org> Message-ID: <B1016FC47D0F4557A1DFD163B345311A@Sealion> > I thought the element 'b' was defined in the target namespace, but it seems it has to be in no namespace. Just as if you didn't use redefine, your local element declaration will only be in the target namespace if you specify elementFormDefault="qualified" on your xs:schema element. (Or, of course, form="qualified" on the local element declaration itself, but no-one ever does that.) > Is it really the intent of the spec? Yes. I've never heard an adequate explanation of why this extraordinary decision was made, but in practice everyone changes the default by using elementFormDefault="qualified". Regards, Michael Kay http://www.saxonica.com/ http://twitter.com/michaelhkayReceived on Sunday, 25 October 2009 18:51:50 GMT |
Subscribe in XML format
|






