[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSLT choking on DTD?
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|