OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: [xml-dev] Schema constructs

[ Lists Home | Date Index | Thread Index ]

Title: RE: [xml-dev] Schema constructs


> What error message are you getting? (I'm thinking the issue might be

> non-determinism)

I am trying to define an element as

<xsd:element name="modify">



      <xsd:element ref="tag"/>

      <xsd:all minOccurs="0">

        <xsd:element ref="lowscale"/>





and xsv is telling me that 'all' is not allowed at that point. This is consistent with the primer saying that 'all' can only exist at the top level but I can't see how to specify that the element "tag" is always first, followed by one or more elements such as "lowscale" (for simplicity the only one that I have included).




News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS