Re: [xml-dev] external entities

From
Rick Marshall <>
To
Richard Tobin <>
Date
2005-02-10T01:13:20Z
ID
<>
Thread
Re: [xml-dev] external entities
Richard Tobin wrote:

>In article <> you write:
>  
>
>><!DOCTYPE xml [
>>    
>>
>
>Well that's illegal for a start: you can't use element or attribute
>names starting "xml".
>  
>
correct - i called it something else at first, but with the same result. 
this was a scambling around in the dark change.

>But this:
>
>  
>
>><!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>>    
>>
>
>  
>
i don't know where it's coming from - not the cgi script because that 
can't run without authentication....

>suggests another problem.  Where's that coming from?  Is the CGI script
>returning an HTML document?  If so, that's no good, because (a) entities
>other than the document mustn't have a DOCTYPE declaration and (b) HTML
>is not XML!
>
>  
>
further investigation suggests that the <!NOTATION thing might work, but 
i've got work to do trying to understand it - seems quite a complex tree 
of dependencies has to be built.

>-- Richard
>
>-----------------------------------------------------------------
>The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
>initiative of OASIS <http://www.oasis-open.org>
>
>The list archives are at http://lists.xml.org/archives/xml-dev/
>
>To subscribe or unsubscribe from this list use the subscription
>manager: <http://www.oasis-open.org/mlmanage/index.php>
>
>
>!DSPAM:420ab0b433681084147451!
>
>  
>