Re: [xml] problem validating XML file with DTD
- From: Liam R E Quin <liam holoweb net>
- To: Sean Machin <smachin1000 yahoo com>
- Cc: xml gnome org
- Subject: Re: [xml] problem validating XML file with DTD
- Date: Fri, 27 Jan 2006 21:57:14 -0500
On Fri, 2006-01-27 at 17:53 -0800, Sean Machin wrote:
camera_test.xml:65: validity error : Content model of rule is not
determinist: ((input | (input , (operator , input)+)) , output+)
Right -- it's not deterministic (the error message has a typo I think).
you cant have a situation when trying to match a content model in
which an element could be matched by more than one pattern at once,
so when you get to the "input" element, it can match on either side
of the "|" which is technically not allowed.
rewrite it as
input, (operator, input)*, output+
Liam
--
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org www.advogato.org
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]