|
From: Neil R. <ne...@oc...> - 2003-12-10 03:50:26
|
On Dec 9, Jany Quintard (jan...@fr...) wrote: > Hi folks > > I have asked a pair of questions on the lists and I am getting answers > without connection with my question. I guess the question was ill > formed. So, here is the problem, and I hope that I make it clear this > time. > > My probleme is that two versions of Openjade behave differently. I > noticed the problem first using a customized DTD, but I actually don't > have problems with catalogs, http support, customized DTDs or things > like that: the problem is that a a root element named html is > not processed in the same way by different versions of openjade. > Actually, it is not processed in the same way by OpenSP. > Here a little example using onsgmls: [snip test case] > Linux.err: > Test with: "OpenSP" version "1.5pre6" > Eror (return code = 1) on externe.xml > +++++++++++++++++++++++++++++++++++ > ----------- externePL.xml -> 0 --------- > ----------- externe.xml -> 1 --------- > onsgmls:externe.xml:2:32:E: DTD did not contain element declaration for document type name > onsgmls:externe.xml:3:5:E: element "html" undefined > onsgmls:externe.xml:4:7:E: element "head" undefined > onsgmls:externe.xml:5:7:E: element "body" undefined > ----------- internePL.xml -> 0 --------- > ----------- interne.xml -> 0 --------- > =================================== > > CYGWIN_NT-5.0.err: > Test with: "OpenSP" version "1.3.4" > +++++++++++++++++++++++++++++++++++ > ----------- externe.xml -> 0 --------- > ----------- externePL.xml -> 0 --------- > ----------- interne.xml -> 0 --------- > ----------- internePL.xml -> 0 --------- > =================================== > > So, my question is: Why is there a difference on the processing of > externe.xml, which is the file with an "html" root and which uses the external > DTD. Is there an automatic switch to html backend with the new version? > Why is onsgmls unable to use the DTD? (notice that there is no catalog, no > remote file: the DTD is in the same directory). > > Jany OpenSP 1.5.1 on Debian GNU/Linux (unstable) appears to work correctly, i.e., it gives the same result as your 1.3.4 run above. -- Neil Roeth |