docbook: Error while parsing sgml with openjade


Previous by date: 13 Mar 2004 08:40:14 -0000 Re: tools.tldp.org, Tabatha Marshall
Next by date: 13 Mar 2004 08:40:14 -0000 Re: Error while parsing sgml with openjade, Ari Makela
Previous in thread: 13 Mar 2004 08:40:14 -0000 Re: Error while parsing sgml with openjade, Michael Schlenstedt
Next in thread: 13 Mar 2004 08:40:14 -0000 Re: Error while parsing sgml with openjade, Ari Makela

Subject: Re: Error while parsing sgml with openjade
From: Michael Schlenstedt ####@####.####
Date: 13 Mar 2004 08:40:14 -0000
Message-Id: <20040313083924.GA3641@schlenn.net>

On Mo Mär 08, 2004, Tabatha Marshall ####@####.#### wrote:
> Michael,
> 
> I didn't pay attention to what distro you are using, but why don't you
> try this?  (I'm so behind on LDP work but had to reply to you!)
> 
> 1.  Load your SGML file and change the doctype statement to the
> following lines:
> 
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
> "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">

Well, there seems to be *a lot of* changes between sgml and xml?!?
Here's the result of Sagib's online-validator after I made the changes
mentioned above:

------------------------------------------------------------------------
Validating using DocBook DTD XML 4.2
This page is not Valid


Line 27, Column 11 :: element "artheader" undefined
<artheader>
-----------^
Line 275, Column 35 :: there is no attribute "LinkEnd"
mich (siehe in <xref LinkEnd="feedback">).
------------------------------^
Line 275, Column 45 :: required attribute "linkend" not specified
he in <xref LinkEnd="feedback">).
------------------------------^
Line 275, Column 46 :: end tag for "xref" omitted, but OMITTAG NO was
specified
e in <xref LinkEnd="feedback">).
------------------------------^
Line 275, Column 21 ::
an mich (siehe in <xref LinkEnd="feedback">).
---------------------^
Line 294, Column 8 :: document type does not allow element "para" here;
missing one of "footnote", "itemizedlist", "orderedlist",
"variablelist", "caution", "important", "note", "tip", "warning",
"blockquote", "informalexample" start-tag
<para>
--------^
Line 335, Column 9 :: end tag for "para" omitted, but OMITTAG NO was
specified
</sect2>
---------^
Line 288, Column 3 ::
<para>
---^
Line 408, Column 8 :: document type does not allow element "para" here;
missing one of "footnote", "itemizedlist", "orderedlist",
"variablelist", "caution", "important", "note", "tip", "warning",
"blockquote", "informalexample" start-tag
<para>
--------^
Line 414, Column 77 :: required attribute "linkend" not specified
in <xref LinkEnd="capidesign">.
------------------------------^
Line 414, Column 78 :: end tag for "xref" omitted, but OMITTAG NO was
specified
in <xref LinkEnd="capidesign">.
------------------------------^
Line 414, Column 51 ::
e unabhängig. Mehr zu CAPI in <xref LinkEnd="capidesign">.
------------------------------^
Line 417, Column 9 :: end tag for "para" omitted, but OMITTAG NO was
specified
</sect2>
---------^
Line 401, Column 3 ::
<para>
---^
Line 576, Column 9 :: document type does not allow element "row" here
<row>
---------^
Line 582, Column 9 :: document type does not allow element "row" here
<row>
---------^

[...] 

Line 1059, Column 11 :: end tag for "row" omitted, but OMITTAG NO was
specified
</tbody>
-----------^
Line 571, Column 5 ::
<row>
-----^
Line 1152, Column 23 :: required attribute "linkend" not specified
LinkEnd="capifigure"> zeigt die einzelnen Modul
-----------------------^
Line 1152, Column 24 :: end tag for "xref" omitted, but OMITTAG NO was
specified
LinkEnd="capifigure"> zeigt die einzelnen Modul
------------------------^
Line 1151, Column 63 ::
nder in Abhängigkeit stehen. <xref
------------------------------^
Line 1234, Column 81 :: required attribute "linkend" not specified
ref LinkEnd="capikernelconfig">)
------------------------------^
Line 1234, Column 82 :: end tag for "xref" omitted, but OMITTAG NO was
specified
ef LinkEnd="capikernelconfig">)
------------------------------^
Line 1234, Column 49 ::
nterstützung im Kernel (siehe <xref LinkEnd="capikernelconfig">)
------------------------------^
Line 1395, Column 30 :: there is no attribute "LinkEnd"
aktivieren. <Xref LinkEnd="capiisdnsubsystem">
------------------------------^
Line 1395, Column 49 :: element "Xref" undefined
ef LinkEnd="capiisdnsubsystem"> zeigt die benötigten
------------------------------^
Line 1398, Column 9 :: end tag for "Xref" omitted, but OMITTAG NO was
specified
</para>
---------^
Line 1395, Column 16 ::
aktivieren. <Xref LinkEnd="capiisdnsubsystem">
----------------^
Line 1436, Column 18 :: there is no attribute "LinkEnd"
(<XREF LinkEnd="capimisdnsubsystem">).
------------------^
Line 1436, Column 38 :: element "XREF" undefined
F LinkEnd="capimisdnsubsystem">).
------------------------------^
Line 1437, Column 9 :: end tag for "XREF" omitted, but OMITTAG NO was
specified
</para>
---------^
Line 1436, Column 4 ::
(<XREF LinkEnd="capimisdnsubsystem">).
----^

-----------------------------------------------------------------------


> 4.  When you process with openjade, use the following syntax:
> 
> openjade -t xml -d
> /usr/share/sgml/docbook/dsssl-stylesheets/html/ldp.dsl#html yourfile.xml
> (that whole thing up there is all on one line, my email is wrapping.)

Well, here's the result:

-----------------------------------------------------------------------
michael@frodo:~/isdn-howto/compactflash/de> /usr/bin/openjade -t xml -d
/usr/local/dbtools/docbook-dsssl/html/ldp.dsl#html DE-Linux-ISDN-HOWTO.xml
/usr/bin/openjade:<URL>http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd:112:17:E: "X20AC" is not a function name
/usr/bin/openjade:<URL>http://www.oasis-open.org/docbook/xml/4.2/ent/iso-amsa.ent:8:19:E: "X21B6" is not a function name
/usr/bin/openjade:<URL>http://www.oasis-open.org/docbook/xml/4.2/ent/iso-amsa.ent:9:19:E: "X21B7" is not a function name
/usr/bin/openjade:<URL>http://www.oasis-open.org/docbook/xml/4.2/ent/iso-amsa.ent:10:17:E: "X21D3" is not a function name

[...] 

/usr/bin/openjade:I: maximum number of errors (200) reached; change with -E option
/usr/bin/openjade:/usr/local/dbtools.old/docbook-dsssl/html/ldp.dsl:2:54:W: cannot generate system identifier for public text "-//James Clark//DTD DSSSL Style Sheet//EN"
/usr/bin/openjade:/usr/local/dbtools.old/docbook-dsssl/html/ldp.dsl:16:0:E: reference to entity "STYLE-SHEET" for which no system identifier could be generated
/usr/bin/openjade:/usr/local/dbtools.old/docbook-dsssl/html/ldp.dsl:1:0: entity was defined here
/usr/bin/openjade:/usr/local/dbtools.old/docbook-dsssl/html/ldp.dsl:16:0:E: DTD did not contain element declaration for document type name
/usr/bin/openjade:/usr/local/dbtools.old/docbook-dsssl/html/ldp.dsl:12:0:E: notation "DSSSL" for entity "docbook.dsl" undefined
/usr/bin/openjade:/usr/local/dbtools.old/docbook-dsssl/html/ldp.dsl:18:12:E: element "STYLE-SHEET" undefined
/usr/bin/openjade:/usr/local/dbtools.old/docbook-dsssl/html/ldp.dsl:40:24:E: there is no attribute "ID"
/usr/bin/openjade:/usr/local/dbtools.old/docbook-dsssl/html/ldp.dsl:40:36:E: there is no attribute "USE"
/usr/bin/openjade:/usr/local/dbtools.old/docbook-dsssl/html/ldp.dsl:40:45:E: element "STYLE-SPECIFICATION" undefined
/usr/bin/openjade:/usr/local/dbtools.old/docbook-dsssl/html/ldp.dsl:41:25:E: element "STYLE-SPECIFICATION-BODY" undefined
/usr/bin/openjade:/usr/local/dbtools.old/docbook-dsssl/html/ldp.dsl:132:44:E: element "STYLE-SPECIFICATION" undefined
/usr/bin/openjade:/usr/local/dbtools.old/docbook-dsssl/html/ldp.dsl:133:25:E: element "STYLE-SPECIFICATION-BODY" undefined
/usr/bin/openjade:/usr/local/dbtools.old/docbook-dsssl/html/ldp.dsl:362:27:E: there is no attribute "ID"
/usr/bin/openjade:/usr/local/dbtools.old/docbook-dsssl/html/ldp.dsl:362:46:E: there is no attribute "DOCUMENT"
/usr/bin/openjade:/usr/local/dbtools.old/docbook-dsssl/html/ldp.dsl:362:59:E: element "EXTERNAL-SPECIFICATION" undefined
/usr/bin/openjade:E: specification document does not have the DSSSL architecture as a base architecture
/usr/bin/openjade:E: no style-specification or external-specification with ID "HTML"
-----------------------------------------------------------------------

Bye,
Michael

Previous by date: 13 Mar 2004 08:40:14 -0000 Re: tools.tldp.org, Tabatha Marshall
Next by date: 13 Mar 2004 08:40:14 -0000 Re: Error while parsing sgml with openjade, Ari Makela
Previous in thread: 13 Mar 2004 08:40:14 -0000 Re: Error while parsing sgml with openjade, Michael Schlenstedt
Next in thread: 13 Mar 2004 08:40:14 -0000 Re: Error while parsing sgml with openjade, Ari Makela


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