Re: [xml-dev] DTD vs XSD: No Duplicate Types in (Mixed) Content Models

From
David Carlisle <>
To
Maik Stührenberg <>
Date
2011-01-31T15:49:33Z
ID
<>
Thread
Re: [xml-dev] DTD vs XSD: No Duplicate Types in (Mixed) Content Models
On 31/01/2011 15:33, Maik Stührenberg wrote:
> Do you know if there are any validating parsers that allow
> non-deterministic content models (apart from RNG parsers)?

first one I tried does, although it gives you a gentle slap on the wrist

$ rxp  -sxV det.xml
Warning: Content model for x is not deterministic.   At start of content 
there are multiple choices when the next element is b.
  (detected at end of prolog of document file:///C:/tmp/det.xml)


That warning is non fatal and it goes on to validate (or invalidate as 
the case may be) the document.



________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________