docbook: Thread: validating multi-file documents


[<<] [<] Page 1 of 1 [>] [>>]
Subject: validating multi-file documents
From: Emma Jane Hogbin ####@####.####
Date: 12 Nov 2003 18:39:12 -0000
Message-Id: <20031112183817.GA1455@debian>

Hey everyone,

I'm trying to validate the revised Author Guide but am getting an error
that I don't know how to deal with.

The top of the document I'm trying to validate looks like this:
<?xml version='1.0' encoding='ISO-8859-1'?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">

And here are the "function" errors I'm getting.
emmajane@debian:~/ldp-authorguide$ nsgmls -s LDP-Author-Guide.xml 
nsgmls:/usr/share/sgml/docbook/dtd/xml/4.2/docbookx.dtd:112:17:E: "X20AC"
is not a function name
nsgmls:/usr/share/sgml/entities/xml-iso-entities-8879.1986/ISOamsa.ent:40:19:E:
"X21B6" is not a function name
nsgmls:/usr/share/sgml/entities/xml-iso-entities-8879.1986/ISOamsa.ent:41:19:E:
"X21B7" is not a function name

Any help would be much appreciated. :)

emma

-- 
Emma Jane Hogbin
[[ 416 417 2868 ][ www.xtrinsic.com ]]
Subject: Re: validating multi-file documents
From: Saqib Ali ####@####.####
Date: 12 Nov 2003 18:52:21 -0000
Message-Id: <Pine.GSO.4.55.0311121038100.16884@sjgcs1.stsj.seagate.com>

you can safely ignore these errors :)


On Wed, 12 Nov 2003, Emma Jane Hogbin wrote:

> Hey everyone,
>
> I'm trying to validate the revised Author Guide but am getting an error
> that I don't know how to deal with.
>
> The top of the document I'm trying to validate looks like this:
> <?xml version='1.0' encoding='ISO-8859-1'?>
> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
> "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
>
> And here are the "function" errors I'm getting.
> emmajane@debian:~/ldp-authorguide$ nsgmls -s LDP-Author-Guide.xml
> nsgmls:/usr/share/sgml/docbook/dtd/xml/4.2/docbookx.dtd:112:17:E: "X20AC"
> is not a function name
> nsgmls:/usr/share/sgml/entities/xml-iso-entities-8879.1986/ISOamsa.ent:40:19:E:
> "X21B6" is not a function name
> nsgmls:/usr/share/sgml/entities/xml-iso-entities-8879.1986/ISOamsa.ent:41:19:E:
> "X21B7" is not a function name
>
> Any help would be much appreciated. :)
>
> emma
>
> --
> Emma Jane Hogbin
> [[ 416 417 2868 ][ www.xtrinsic.com ]]
>
> ______________________
> http://lists.tldp.org/
>
>
Subject: Re: validating multi-file documents
From: Emma Jane Hogbin ####@####.####
Date: 12 Nov 2003 18:53:50 -0000
Message-Id: <20031112185255.GB1617@debian>

On Wed, Nov 12, 2003 at 10:38:46AM -0800, Saqib Ali wrote:
> you can safely ignore these errors :)

Is there a way to suppress them? I'm getting hundreds of them and can't
move past these errors into the actual document...

emma

-- 
Emma Jane Hogbin
[[ 416 417 2868 ][ www.xtrinsic.com ]]
Subject: Re: validating multi-file documents
From: Saqib Ali ####@####.####
Date: 12 Nov 2003 19:38:32 -0000
Message-Id: <Pine.GSO.4.55.0311121120090.17201@sjgcs1.stsj.seagate.com>

i think on onsmls you can pass "-E max_errors" parameter to 0 and get past
these error to get to the actual document. The default is 200

i always find it helpful to export the error message to a file using "-f"
parameter, since i dont have XWindows on my box, and I can't scroll up or
down to view the error msgs.



On Wed, 12 Nov 2003, Emma Jane Hogbin wrote:

> On Wed, Nov 12, 2003 at 10:38:46AM -0800, Saqib Ali wrote:
> > you can safely ignore these errors :)
>
> Is there a way to suppress them? I'm getting hundreds of them and can't
> move past these errors into the actual document...
>
> emma
>
> --
> Emma Jane Hogbin
> [[ 416 417 2868 ][ www.xtrinsic.com ]]
>
> ______________________
> http://lists.tldp.org/
>
>
Subject: Re: validating multi-file documents
From: Emma Jane Hogbin ####@####.####
Date: 12 Nov 2003 19:44:22 -0000
Message-Id: <20031112194327.GB2466@debian>

On Wed, Nov 12, 2003 at 11:24:55AM -0800, Saqib Ali wrote:
> i think on onsmls you can pass "-E max_errors" parameter to 0 and get past
> these error to get to the actual document. The default is 200

I've never had to deal with these types of errors (i.e. on previous
systems). I need to figure out how to get rid of them totally so that I'm
not scrolling through them, I'm just getting to the actual errors of the
document. It seems as those I'm missing a pointer to some kind of entity
file.

emma

-- 
Emma Jane Hogbin
[[ 416 417 2868 ][ www.xtrinsic.com ]]
Subject: Re: validating multi-file documents
From: Saqib Ali ####@####.####
Date: 12 Nov 2003 19:52:15 -0000
Message-Id: <Pine.GSO.4.55.0311121133160.17354@sjgcs1.stsj.seagate.com>

Yeah probably you are missing entities file or the path is not setup
properly. But it is not easy to figure out without looking at you system.

The first time (a long while back) I compiled openjade and onsgmls I had
everythin working without errors. Since then I have re-installed my OS
many times, and I have learned to use onsgmls with "-E 0" and just
ignore the errors that are not relevant :)


On Wed, 12 Nov 2003, Emma Jane Hogbin wrote:

> On Wed, Nov 12, 2003 at 11:24:55AM -0800, Saqib Ali wrote:
> > i think on onsmls you can pass "-E max_errors" parameter to 0 and get past
> > these error to get to the actual document. The default is 200
>
> I've never had to deal with these types of errors (i.e. on previous
> systems). I need to figure out how to get rid of them totally so that I'm
> not scrolling through them, I'm just getting to the actual errors of the
> document. It seems as those I'm missing a pointer to some kind of entity
> file.
>
> emma
>
> --
> Emma Jane Hogbin
> [[ 416 417 2868 ][ www.xtrinsic.com ]]
>
> ______________________
> http://lists.tldp.org/
>
>
Subject: Re: validating multi-file documents
From: Bob Stayton ####@####.####
Date: 12 Nov 2003 20:01:36 -0000
Message-Id: <20031112111708.D24438@sco.com>

On Wed, Nov 12, 2003 at 01:52:55PM -0500, Emma Jane Hogbin wrote:
> On Wed, Nov 12, 2003 at 10:38:46AM -0800, Saqib Ali wrote:
> > you can safely ignore these errors :)
> 
> Is there a way to suppress them? I'm getting hundreds of them and can't
> move past these errors into the actual document...

You need to include xml.dcl before your document name.
See this message:

http://sources.redhat.com/ml/docbook-apps/2002-q1/msg00332.html

-- 

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The SCO Group                               fax:   (831) 429-1887
                                            email: ####@####.####
Subject: Re: validating multi-file documents
From: Emma Jane Hogbin ####@####.####
Date: 12 Nov 2003 20:12:25 -0000
Message-Id: <20031112201130.GA3137@debian>

On Wed, Nov 12, 2003 at 11:17:08AM -0800, Bob Stayton wrote:
> You need to include xml.dcl before your document name.
> See this message:

nsgmls -s /usr/share/sgml/declaration/xml.dcl LDP-Author-Guide.xml

Works perfectly! (Except of course for the validation errors.)

Thank you,
emma

-- 
Emma Jane Hogbin
[[ 416 417 2868 ][ www.xtrinsic.com ]]
[<<] [<] Page 1 of 1 [>] [>>]


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