Return-Path: Delivered-To: apmail-cocoon-docs-archive@www.apache.org Received: (qmail 19080 invoked from network); 20 Oct 2005 11:18:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Oct 2005 11:18:34 -0000 Received: (qmail 33445 invoked by uid 500); 20 Oct 2005 11:18:33 -0000 Delivered-To: apmail-cocoon-docs-archive@cocoon.apache.org Received: (qmail 33399 invoked by uid 500); 20 Oct 2005 11:18:32 -0000 Mailing-List: contact docs-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: docs@cocoon.apache.org List-Id: Delivered-To: mailing list docs@cocoon.apache.org Received: (qmail 33384 invoked by uid 99); 20 Oct 2005 11:18:32 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [207.7.158.203] (HELO cocoon.zones.apache.org) (207.7.158.203) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Oct 2005 04:18:31 -0700 Message-ID: <26793189.1129806863232.JavaMail.daisy@cocoon.zones.apache.org> Date: Thu, 20 Oct 2005 11:14:23 +0000 (GMT+00:00) From: daisy@cocoon.zones.apache.org To: docs@cocoon.apache.org Subject: [DAISY] Updated: Entity resolution with catalogs Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N A document has been updated: http://cocoon.zones.apache.org/daisy/documentation/583.html Document ID: 583 Branch: main Language: default Name: Entity resolution with catalogs (unchanged) Document Type: Document (unchanged) Updated on: 10/20/05 11:14:17 AM Updated by: David Crossley A new version has been created, state: publish Parts ===== Content ------- This part has been updated. Mime type: text/xml (unchanged) File name: (unchanged) Size: 23434 bytes (previous version: 23440 bytes) Content diff: (80 equal lines skipped) that it declares its ruleset, the Document Type Definition (DTD), as an external entity. Notice also that the resource is network-based.

---
--- <?xml version="1.0"?>
+++ 
<?xml version="1.0"?>
    <!DOCTYPE article PUBLIC "-//OASIS//DTD Simplified DocBook XML V4.1.2.5//EN"
      "http://www.oasis-open.org/docbook/xml/simple/4.1.2.5/sdocbook.dtd"
    <article>
(29 equal lines skipped)
    identifier is listed first and the system identifier is not preceded by the
    keyword SYSTEM. Here are four separate examples ...

---
--- <!ENTITY pic SYSTEM "images/pic.gif" NDATA gif>
+++ 
<!ENTITY pic SYSTEM "images/pic.gif" NDATA gif>
    <!ENTITY % ISOnum PUBLIC
      "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML" "ISOnum.pen">
    <!DOCTYPE document SYSTEM "dtd/document-v10.dtd">
(24 equal lines skipped)
    identifier otherSystemId
    
    
--- 
--- -- this is the default OASIS catalog for Apache Cocoon --
+++ 
-- this is the default OASIS catalog for Apache Cocoon --
    
    OVERRIDE YES
    
(57 equal lines skipped)
    

Here is the source for the top-level XML instance document catalog-demo.xml ...

---
--- <?xml version="1.0"?>
+++ 
<?xml version="1.0"?>
    
    <!DOCTYPE catalog-demo PUBLIC "-//Indexgeo//DTD Catalog Demo v1.0//EN"
      "http://www.indexgeo.com.au/dtd/catalog-demo-v10.dtd"
(70 equal lines skipped)
    

Here is the source for one of the included sub-document external entities testpub.txt (a slab of plain text) ...

---
--- This paragraph is automatically included from the
+++ 
This paragraph is automatically included from the
    testpub.txt external file.
    The entity declaration deliberately used a non-existent file
    as the system identifier. The catalog then used the declared
(79 equal lines skipped)
    sdocbook.cat catalog).
    
    
--- 
--- -- Catalog file (sdocbook.cat) for Simplified DocBook --
+++ 
-- Catalog file (sdocbook.cat) for Simplified DocBook --
    -- See www.oasis-open.org/docbook/ --
    
    -- Driver file for the Simplified DocBook XML DTD --
(131 equal lines skipped)


Fields
======
no changes

Links
=====
no changes

Custom Fields
=============
no changes

Collections
===========
Removed from collection: legacydocs