discuss: Question on XML Docbook
Subject:
Re: Question on XML Docbook
From:
Vivek Venugopalan ####@####.####
Date:
21 Feb 2002 16:28:17 -0000
Message-Id: <20020221162816.68439.qmail@web11508.mail.yahoo.com>
OK. I didnt know the --docbook switch part. Thanks
for the info. Now I get the following errors can you
help? My knowledge of xml is limited so ...
C:\dbxml\work\validator>xsltproc %DBXSL% validator.xml
validator.xml:3: error: SystemLiteral " or ' expected
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML
V4.1.2//EN" [
^
validator.xml:3: error: xmlParseExternalID: PUBLIC, no
URI
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML
V4.1.2//EN" [
^
validator.xml:11: error: Entity 'pattern-name' not
defined
<title>The &pattern-name; Pattern</title>
^
validator.xml:40: error: Entity 'pattern-name' not
defined
<para>&pattern-name;</para>
^
validator.xml:47: error: Entity 'pattern-name' not
defined
development effort for creating user interface
validations. The &pattern-name;
^
unable to parse validator.xml
--- Gert Dewit ####@####.#### wrote:
> On Thu, 2002-02-21 at 16:13, Vivek Venugopalan
> wrote:
> [snip]
>
> >
> > Here is what I get
> > C:\dbxml\work\validator>xsltproc --docbook %DBXSL%
> > validator.sgml > out.html
> > validator.sgml:3: error: docbParseDocTypeDecl :
> > internal subset not handled
> > <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook
> XML
> > V4.1.2//EN" [
>
> If you're using xml I don't think you should specify
> --docbook
> on the xsltproc command line and your file should be
> xml (maybe
> you only forgot to change the file extension in the
> example)
>
> $ xsltproc --help
> [snip]
> --docbook: the input document is SGML docbook
> ^^^^
> [snip]
>
> just try :
> $ xsltproc ${DBXSL} validator.xml > out.html
>
> Greetings,
>
> Gert
>
__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com