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] Deterministic content models???

[ Lists Home | Date Index | Thread Index ]

>I received the following error when I parse an xml document:
>
>>> The content model must be deterministic. Multiple definition of
>element 'DATA' causes content model to become ambiguous. 
>
>Here is the element in question:
>
><!ELEMENT SMART_DOCUMENT (HEADER , (DATA , VIEW*) , AUDIT_TRAIL ,
>SIGNATURES?)>
><!ELEMENT DATA (MAIN , MAP? , CUSTOM?)>

There's nothing ambiguous there.  It's a strange error message:
ambiguity has nothing to do with multiple definition of an
element.

Does the error message not say which element has an ambiguous content
model?  Is there another element other than SMART_DOCUMENT that can
contain a DATA element?

Try validating with another parser and see if you get a better error
message.

-- Richard




 

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

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