[
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
|