RE: [xml] validateing errors with libxml2



Hi Micheal,

thanks for that quick answer.

I'am useing: libxml2-2.4.6

As an attachment I send you the DTD and the index.xml, 
which I could not parse. Hopefully this is readable now.


<!DOCTYPE NewsML PUBLIC "urn:newsml:iptc.org:20001006:NewsMLv1.0:1" "http://www.afp.com/dtd/NewsMLv1.0.dtd"; 
[
  <!ENTITY % nitf SYSTEM "http://www.afp.com/dtd/nitf-2-5.dtd";>
  %nitf;
]>
<NewsML>

I always thought it would be forbidden to include external parameter
entities in the internal subset. 
Seems I'm wrong. I can't find that in the spec.

The problem here seems to come from the rule, that parameter entities
in the internal subset may not apear within markup declarations.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]