This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Xalan & DocBook XSL problem


Try this.

<?xml version="1.0" encoding="iso-8859-2"?>
<!DOCTYPE article PUBLIC "-//Norman Walsh//DTD Simplified DocBk XML 
V3.1.7.1//EN"
                 "http://www.nwalsh.com/docbook/xml/3.1.7/docbookx.dtd">

At 11:52 AM 3/27/00 +0200, you wrote:
>Hi,
>
>I'd like to use Xalan for processing my DocBook XML documents with XSL
>stylesheets 1.9. I tried this minimal document:
>
><?xml version="1.0" encoding="iso-8859-2"?>
><!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.0beta4//EN"
>                       "file:///usr/share/sgml/dbx40b4/docbookx.dtd">
>
><book>
>   <bookinfo>
>     <title>Test</title>
>   </bookinfo>
></book>
>
>Xalan shows this error:
>
>========= Parsing file:/usr/share/sgml/dbxsl19/html/docbook.xsl ==========
>Parse of file:/usr/share/sgml/dbxsl19/html/docbook.xsl took 7924 milliseconds
>========= Parsing test.xml ==========
>file:/usr/share/sgml/dbx40b4/dbpoolx.mod; Line 478; Column 3
>XSL Error: Could not parse test.xml document!
>XSLT: The markup declarations contained or pointed to by the document type
>declaration must be well-formed.
>Xalan: was not successful.
>XSLProcessor: done
>
>I'm using RedHat Linux 6.1 with Sun JDK1.2.2, Xalan 1.0, DocBook 4.0 beta 
>4 and
>XSL Stylesheets 1.9
>
>What's wrong?
>
>Martin Perina
>________________________________________________________________________
>
>ATACO, spol. s r. o.                   email: martin.perina@ataco.cz
>Lesetinska 676                         www:   http://www.ataco.cz/
>Ostrava - Kuncice                      phone: +420 (69) 568 28 62
>707 02                                 fax:   +420 (69) 568 27 56
>Czech Republic

Sincerely,
David Parker

mailto:david.parker@doit.wisc.edu

Library, Instructional & Retrieval Applications,
Division of Information Technology,
1210 West Dayton Street, Madison WI  53706
Phone: 608.265.7829 	FAX: 608.265-6453


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]