[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: DOCBOOK: Re: SDATA-Warnings
Holger Rauch <Holger.Rauch@heitec.de> writes: > When I convert an SGML file to an XML file using "sgml2xml" (part of the > SP package) I get the following warnings: sgml2xml is the old command 'sx' renamed (to avoid name space problems with the 'rzsz' package). > sgml2xml:evaluation_textverarbeitungssysteme.sgml:803:17:W: reference to > internal SDATA entity "ndash" not allowed in XML > sgml2xml:evaluation_textverarbeitungssysteme.sgml:803:36:W: reference to > internal SDATA entity "ndash" not allowed in XML > sgml2xml:evaluation_textverarbeitungssysteme.sgml:935:23:W: reference to > internal SDATA entity "mdash" not allowed in XML > sgml2xml:evaluation_textverarbeitungssysteme.sgml:1209:1:W: reference to > internal SDATA entity "mdash" not allowed in XML > sgml2xml:evaluation_textverarbeitungssysteme.sgml:1210:25:W: reference to > internal SDATA entity "mdash" not allowed in XML > sgml2xml:evaluation_textverarbeitungssysteme.sgml:1413:48:W: reference to > internal SDATA entity "lt" not allowed in XML > sgml2xml:evaluation_textverarbeitungssysteme.sgml:1413:66:W: reference to > internal SDATA entity "gt" not allowed in XML > > What is an "SDATA entity"? Specific character data (IIRC). > What notation do I have to use in XML instead > of "<", ">", "–", "—"? The simpliest is to use Unicode character mappings coming with the XML version of DocBook (on SuSE Linux available as /usr/share/sgml/db41xml/ent/*.ent). After running sgml2xml adjust the DOCTYPE declaration and it should be a valid document; db2x.sh (the version coming with SuSE Linux 7.1) is considered to "convert" from SGML to XML using the --xml switch -- I admit this switch isn't that much tested (please report problems to me). -- work : ke@suse.de | ,__o : http://www.suse.de/~ke/ | _-\_<, home : keichwa@gmx.net | (*)/'(*)
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC