[prev in list] [next in list] [prev in thread] [next in thread] 

List:       quanta
Subject:    Re: [Quanta] DTD Load Error
From:       Guido Pinkas <guido.pinkas () bindertrittenwein ! com>
Date:       2007-10-26 8:15:08
Message-ID: 1193386508.5402.2.camel () guido-tux
[Download RAW message or body]

Hi Alan, 

thanks a lot, that solved my problem. 

Best regards,
guido

On Thu, 2007-10-25 at 10:48 -0700, Alan Richmond wrote:
> 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?
> 
> _______________________________________________
> Quanta mailing list
> Quanta@mail.kde.org
> https://mail.kde.org/mailman/listinfo/quanta
_______________________________________________
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