[prev in list] [next in list] [prev in thread] [next in thread]
List: quanta
Subject: Re: [Quanta] DTD Load Error
From: Alan Richmond <alan () aardwolfweb ! com>
Date: 2007-10-25 17:48:52
Message-ID: 200710251048.52644.alan () aardwolfweb ! com
[Download RAW message or body]
On Thursday 25 October 2007 12:57:38 am Guido Pinkas wrote:
> 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"?>
> <!DOCTYPE note [
> <!ELEMENT note (to,from,heading,body)>
> <!ELEMENT to (#PCDATA)>
> <!ELEMENT from (#PCDATA)>
> <!ELEMENT heading (#PCDATA)>
> <!ELEMENT body (#PCDATA)>
> ]>
Guido,
This is an internal DTD, of the type that would be at the top of the XML file
it defined; note how it is all in the !DOCTYPE tag. As far as I know Quanta
can import external DTDs. Trying to import your attached sample resulted in
the same error you were getting. <!DOCTYPE> in not valid *in* a DTD.
If you drop the !DOCTYPE to turn it into an external DTD it imports just fine.
-Alan
P.S. Now how do I remove an imported DTD from my DTD list?
--
Alan Richmond
Aardwolf Web
707-442-7470
["test_minimal.dtd" (application/xml-dtd)]
_______________________________________________
Quanta mailing list
Quanta@mail.kde.org
https://mail.kde.org/mailman/listinfo/quanta
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic