Edit

kc3-lang/libxml2/test/valid/index.xml

Branch :

  • Show log

    Commit

  • Author : Daniel Veillard
    Date : 2001-10-23 13:10:19
    Hash : 5151c06f
    Message : fixed an erroneous validation bug when PE refs occurs in external parsed * parser.c: fixed an erroneous validation bug when PE refs occurs in external parsed entities referenced from the internals subset * test/valid/index.xml test/valid/dtds/nitf-2-5.dtd test/valid/dtds/NewsMLv1.0.dtd result/valid/index.xml*: added the associated testcase, it's a nice one. * HTMLparser.c: generate the DTD node as HTML still ... * HTMLtree.c: fixed errors in Set/GetMetaEncoding Daniel

  • test/valid/index.xml
  • <?xml version="1.0" encoding="iso-8859-1"?>
    <!DOCTYPE NewsML PUBLIC "urn:newsml:iptc.org:20001006:NewsMLv1.0:1" "dtds/NewsMLv1.0.dtd" [
      <!ENTITY % nitf SYSTEM "dtds/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