Re: DTD Load Error

Guido Pinkas <[email protected]>
Newsgroups gmane.comp.kde.devel.quanta.user
Message-ID <1193302400.5385.14.camel@guido-tux>
Hi Jens, 

thanks for the answer. I tried following sample SGML dtd:
  <!DOCTYPE glossary [
  <!ELEMENT glossary o o (title, entry+)>
  <!ELEMENT title o o (#PCDATA)>
  <!ELEMENT entry - o (term, def)>
  <!ELEMENT term o - (#PCDATA)>
  <!ELEMENT def o o (#PCDATA)>
  <!ENTITY end-term ENDTAG "term">
  <!SHORTREF term-map "&#RE;" end-term>
  <!USEMAP term-map term>
  ]>

But the result also was an error message:
"Error while parsing the DTD. 
The error message is: Content error in the external subset (1, 3)"

Regards,
Guido

On Thu, 2007-10-25 at 10:14 +0200, Jens Herden wrote:
> Hi Guido,
> 
> > Due to the rather unspectacular number of responses to my last post, I
> > just try it again... ;)
> >
> > I wanted to use the "DTD/Load & Convert DTD..."-function in Quanta, but
> > all the files i tried loading returned with following error:
> > "Error while parsing the DTD.
> > The error message is: Content error in the external subset (2, 1)"
> >
> > Now, even following minimal DTD from w3schools doesn't work:
> > <?xml version="1.0"?>
> 
> untested from my memory:
> Quanta does not accept XML for this function, you must use SGML as far as I 
> know.
> Please have a look here:
> http://en.wikipedia.org/wiki/Document_Type_Definition#Differences_between_SGML_and_XML_DTD_syntax
> 
> HTH
> Jens
> 
> _______________________________________________
> Quanta mailing list
> [email protected]
> https://mail.kde.org/mailman/listinfo/quanta
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.