Re: XSLT choking on DTD?

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
  • XSLT choking on DTD?
    • disco - Sun, 21 Nov 1999 16:42:35 -0500 (EST)
      • disco - Sun, 21 Nov 1999 17:57:16 -0500 (EST)
      • <Possible follow-ups>
      • Nikolai Grigoriev - Mon, 22 Nov 1999 02:15:17 +0300 <=
      • Nikolai Grigoriev - Mon, 22 Nov 1999 03:18:23 +0300
        • disco - Sun, 21 Nov 1999 20:46:25 -0500 (EST)