discuss: Question on XML Docbook


Previous by date: 21 Feb 2002 16:28:17 -0000 Re: Question on XML Docbook, Gert Dewit
Next by date: 21 Feb 2002 16:28:17 -0000 Docbook 3.1 and 4.1, Matt Wright
Previous in thread: 21 Feb 2002 16:28:17 -0000 Re: Question on XML Docbook, Gert Dewit
Next in thread: 21 Feb 2002 16:28:17 -0000 Re: Question on XML Docbook, Dan Scott

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

Previous by date: 21 Feb 2002 16:28:17 -0000 Re: Question on XML Docbook, Gert Dewit
Next by date: 21 Feb 2002 16:28:17 -0000 Docbook 3.1 and 4.1, Matt Wright
Previous in thread: 21 Feb 2002 16:28:17 -0000 Re: Question on XML Docbook, Gert Dewit
Next in thread: 21 Feb 2002 16:28:17 -0000 Re: Question on XML Docbook, Dan Scott


  ©The Linux Documentation Project, 2014. Listserver maintained by dr Serge Victor on ibiblio.org servers. See current spam statz.