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

List:       expat-discuss
Subject:    Re: [Expat-discuss] PUBLIC ID
From:       Eric Bohlman <ebohlman () earthlink ! net>
Date:       2001-06-21 22:49:08
[Download RAW message or body]

6/21/01 3:33:54 PM, "Jochen Hartmann" <jochen@cs.ucr.edu> wrote:
>I don't know how to handle PUBLIC Ids in the DOCTYPE:
>
><!DOCTYPE MYDTD PUBLIC "-//MYD//DTD My Report
>DTD:V0.16.6:MYDTD.DTD//EN">
>
>Results in an EXPAT error message: syntax error at line ...
>
>If I change 'PUBLIC' to 'SYSTEM' it works, but than an other program
>working with this XML-File crashed.

That's not a legal XML document type declaration (though it would be legal in SGML).  In XML, you 
need either PUBLIC followed by a public ID followed by a system ID (URI), or SYSTEM followed by a 
system ID.  You can't have just a public ID without a system ID.



_______________________________________________
Expat-discuss mailing list
Expat-discuss@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/expat-discuss

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

Configure | About | News | Add a list | Sponsored by KoreLogic