RE: [xml] validateing errors with libxml2



Hello Daniel, 

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.

-michael

Attachment: nitf-2-5.dtd
Description: Binary data

<?xml version="1.0" encoding="iso-8859-1"?>
<!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>
  <Catalog Href="http://www.afp.com/dtd/AFPCatalog.xml"/>
  <NewsEnvelope>
    <DateAndTime>20011022T154508Z</DateAndTime>
  </NewsEnvelope>
  <NewsItem>
    <Identification>
      <NewsIdentifier>
        <ProviderId>afp.com</ProviderId>
        <DateId>20011022</DateId>
        <NewsItemId>mmd--deutsch--journal--spo</NewsItemId>
        <RevisionId PreviousRevision="0" Update="N">1</RevisionId>
        <PublicIdentifier>urn:NewsML:afp.com:20011022:mmd--deutsch--journal--spo:1</PublicIdentifier>
      </NewsIdentifier>
      <NameLabel>HINTERGRUND</NameLabel>
    </Identification>
    <NewsManagement>
      <NewsItemType FormalName="News"/>
      <FirstCreated>20011022T154508Z</FirstCreated>
      <ThisRevisionCreated>20011022T154508Z</ThisRevisionCreated>
      <Status FormalName="Usable"/>
    </NewsManagement>
    <NewsComponent>
      <AdministrativeMetadata>
        <Provider>
          <Party FormalName="AFP"/>
        </Provider>
      </AdministrativeMetadata>
      <DescriptiveMetadata>
        <Language FormalName="de"/> 
      </DescriptiveMetadata>
      <NewsComponent>
        <NewsLines>
          <HeadLine>Berliner SPD führt Gespräche mit FDP und Grünen</HeadLine>
        </NewsLines>
        <NewsItemRef NewsItem="011022154450.sq80bp9h.xml"/>
      </NewsComponent>
      <NewsComponent>
        <NewsLines>
          <HeadLine>INFOGRAFIK: Das Berliner Wahlergebnis</HeadLine>
        </NewsLines>
        <NewsItemRef NewsItem="011022113032.remo00m7.xml"/>
      </NewsComponent>
      <NewsComponent>
        <NewsLines>
          <HeadLine>Schwierige Koalitionsverhandlungen in Berlin</HeadLine>
        </NewsLines>
        <NewsItemRef NewsItem="011022124314.9hv2kozk.xml"/>
      </NewsComponent>
      <NewsComponent>
        <NewsLines>
          <HeadLine>Die Lieblingsfarben des Kanzlers sind Rot Gelb Grün</HeadLine>
        </NewsLines>
        <NewsItemRef NewsItem="011022134541.cmmaoim7.xml"/>
      </NewsComponent>
      <NewsComponent>
        <NewsLines>
          <HeadLine>INFOGRAFIK: Wen wählt Wowereit?</HeadLine>
        </NewsLines>
        <NewsItemRef NewsItem="011022122545.hl3z2as6.xml"/>
      </NewsComponent>
      <NewsComponent>
        <NewsLines>
          <HeadLine>CDU ist auch in kommunalen Rathäusern der Verlierer</HeadLine>
        </NewsLines>
        <NewsItemRef NewsItem="011022120205.b8sykfvu.xml"/>
      </NewsComponent>
      <NewsComponent>
        <NewsLines>
          <HeadLine>Gutes Abschneiden der PDS hat verschiedene Gründe</HeadLine>
        </NewsLines>
        <NewsItemRef NewsItem="011022134159.agvne048.xml"/>
      </NewsComponent>
      <NewsComponent>
        <NewsLines>
          <HeadLine>Ans Regieren hat sich Klaus Wowereit gewöhnt</HeadLine>
        </NewsLines>
        <NewsItemRef NewsItem="011021161031.1oq7qyub.xml"/>
      </NewsComponent>
      <NewsComponent>
        <NewsLines>
          <HeadLine>Steffel brachte CDU nicht auf Erfolgskurs</HeadLine>
        </NewsLines>
        <NewsItemRef NewsItem="011021165007.kt9qog9m.xml"/>
      </NewsComponent>
      <NewsComponent>
        <NewsLines>
          <HeadLine>Sibyll Klotz: Vollblutpolitikerin mit "Berliner Schnauze"</HeadLine>
        </NewsLines>
        <NewsItemRef NewsItem="011021184658.lctevest.xml"/>
      </NewsComponent>
      <NewsComponent>
        <NewsLines>
          <HeadLine>Mit Gysi muss weiter gerechnet werden</HeadLine>
        </NewsLines>
        <NewsItemRef NewsItem="011021180441.6tpvgx0y.xml"/>
      </NewsComponent>
      <NewsComponent>
        <NewsLines>
          <HeadLine>Rexrodt - das Stehaufmännchen der Berliner FDP</HeadLine>
        </NewsLines>
        <NewsItemRef NewsItem="011021165558.gujrz59m.xml"/>
      </NewsComponent>
    </NewsComponent>
  </NewsItem>
</NewsML>


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