Subject: Re: XSLT choking on DTD? From: "Nikolai Grigoriev" <grig@xxxxxxx> Date: Mon, 22 Nov 1999 02:15:17 +0300 |
Hi! >I'm having a strange problem: XSLT (both XT and LotusXSL) are choking on a >part of my DTD: > ><!ENTITY % flow "(%inline;)* | (%block;)*"> >... ><!ELEMENT footnote (%flow;)> Probably, %inline and %block have a common element included - something like <!ENTITY % inline "character | image | ..."> <!ENTITY % block "paragraph | image | ..."> The repetition of "image" in these two lists makes the resulting content rule for "footnote" non-deterministic, since a standalone <image/> can match the production in more than one way. This is considered an error [see XML Spec, 3.2.1]. But I wonder why should XSLT precessors report it as a lacking parenthesis? IMHO, you should supply definitions for %inline and %block to get an answer. Regards, Nikolai XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: XSLT choking on DTD?, Richard Lander | Thread | Re: XSLT choking on DTD?, Nikolai Grigoriev |
ANNOUNCEMENT: XMLwriter 1.0 is Rele, Chris Howard | Date | RE: XSLT choking on DTD?, Richard Lander |
Month |