|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Deterministic content models???
>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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








