[Home] [By Thread] [By Date] [Recent Entries]
"Sarveshwar Rao Duddu" <duddu@v...> writes:
> Hi,
>
> I was trying out
>
> <!ELEMENT test ((a, b)| (a, c))>
>
> in my DTD, and my parser did not give any error. I use IBM parser.
> Any idea if there is any parser out there which also checks for this type of
> error?
If your parser claims to be validating, it is non-compliant if it
accepts the above model. Most validating parsers (see any of the
standard tools lists) will get this right: RXP [1] certainly does.
ht
[1] http://www.ltg.ed.ac.uk/~richard/rxp.html
--
Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
W3C Fellow 1999--2001, part-time member of W3C Team
2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail: ht@c...
URL: http://www.ltg.ed.ac.uk/~ht/
***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************
|

Cart



