- From: Yuichi Koike <koike@ay.jp.nec.com>
- Date: Wed, 23 Aug 2000 18:50:03 -0400
- To: <xmlschema-dev@w3.org>
When I validated a simple XML document [1] with a simple
schema [2], XSV gave me the following error message[3]:
""non-deterministic content model for type
None: {http://big.w3.org/dtd2xsd/test.xml}:B/
{http://big.w3.org/dtd2xsd/test.xml}:B"
[1] http://big.w3.org/dtd2xsd/test2.xml
[2] http://big.w3.org/dtd2xsd/test.xml
[3] http://www.w3.org/2000/06/webdata/xsv?docAddrs=http%3A%2F%2Fbig.w3.org%2Fdtd2xsd%2Ftest2.xml&style=text
It seems that the following definition is wrong.
However, I don't know why it is wrong.
Can anyone tell me why?
<element name='A'>
<complexType content='elementOnly'>
<element ref='test:B' minOccurs='0' maxOccurs='unbounded'/>
<element ref='test:C' minOccurs='0'/>
<element ref='test:B' minOccurs='0' maxOccurs='unbounded'/>
</complexType>
</element>
--
Yuichi Koike (koike@ay.jp.nec.com)
NEC Corporation
World Wide Web Consortium (W3C)
Technology and Society Domain
http://www.w3.org/People/Koike/
Received on Wednesday, 23 August 2000 18:50:07 UTC