Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Hello world (sample) of schemas

From: usenet@--------------.---
To: NULL
Date: 3/3/2008 3:11:00 AM
On 28 Feb, 01:15, "Mike C#" <x...@xyz.com> wrote:
> BTW, in SQL Server (which may not be accurate in their implementation of
> this particular feature), the XML Schema does not allow complex content in=

> the item element. =A0On SQL 2005 the example XML doc. fails validation at =
the
> foo element. =A0However, an XML document like this is valid on SQL 2005:

Hi Mike,

As far as I can tell VS2005 allows extra content with <xs:element
name=3D'item'/>, so my feeling is that SQL 2005 is wrong about this!  I
guess Microssoft is big enough to have many XSD schema
implementations!

And that's really why I raised the issue.  Just looking at it, it
seems obvious that <xs:element name=3D'item'/> defines an empty element,
but surprisingly it's not the case.  I've seen this misconception a
number of times and just wanted to send out a heads up for
beginners.

Regards,

Pete Cordell
Codalogic
For XML C++ data binding visit http://www.codalogic.com/lmx/


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent