[xml] validateing errors with libxml2
- From: Michael Radzewitz <michael radzewitz freenet-ag de>
- To: "'xml gnome org'" <xml gnome org>
- Subject: [xml] validateing errors with libxml2
- Date: Tue, 23 Oct 2001 09:05:11 +0200
Hello,
i've got a question - since linking against the new libxml2 i got errors
while
validating the document. Below the output messages (the line numbers have
changed). For me the content of that DTD seems to be in the right format.
Validateing the same document with two other Programms prints out no error
messages either. Everything work fine when I compile and link the
Application
against libxml1.8.x
Any suggestions what I am doing wrong?
output message1:
error parsing file '/home/afpNewsML/journal/pld/index.xml'
http://www.afp.com/dtd/nitf-2-5.dtd:57: error: EntityValue: PEReferences
forbidden in internal subset
'>
^
DTD content1:
<!ENTITY % common-attributes '
%global-attributes;
class NMTOKENS #IMPLIED
style CDATA #IMPLIED
lang NMTOKEN
#IMPLIED
dir (ltr | rtl) #IMPLIED
'>
^
|
error?
output message2:
http://www.afp.com/dtd/nitf-2-5.dtd:513: error: '(' required to start
ATTLIST enumeration
lede %boolean; #IMPLIED
^
|
error?
DTD content2:
<!ELEMENT block ((%block.head;)?, (%block.content;)*, (%block.end;)?)>
<!ATTLIST block %common-attributes;>
<!ELEMENT p (%enriched-text;)*>
<!ATTLIST p
%common-attributes;
lede %boolean; #IMPLIED
summary %boolean; #IMPLIED
optional-text %boolean; #IMPLIED
>
Greetings Michael
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]