|
[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Schema styles...
From: Xan Gregg <xan.gregg@jmp.com>
Date: Thu, 8 Sep 2005 11:34:36 -0400 Message-Id: <5cfc6c5473c5c3c5e4c822b2b097caa6@jmp.com> Cc: XMLSchema-Dev <xmlschema-dev@w3.org> To: Gary Maltzen <xml-schema@mwwm.net> On Sep 8, 2005, at 3:19 AM, Gary Maltzen wrote: > When defining a Schema it seems to me that most of the context is in > the XML-Schema namespace, so I keep wondering why there seems to be a > preference for qualifying the XML-Schema namespace rather than the > defined namespace. ... > Is there some significant difference in the result? The only technical reason is in defining a schema with no namespace. In that case, you must use a prefix for the XML Schema namespace so unprefixed references like type="MyType" don't resolve to the XML Schema namespace. Since the explicit namespace prefix style covers 100% of the cases and the default namespace style covers *only* 99%, many prefer using the former style as a best practice. xanReceived on Thursday, 8 September 2005 15:34:47 GMT |
Subscribe in XML format
|






