Testing: Catalog Entity Resolver
http://xml.apache.org/http://www.apache.org/http://www.w3.org/

Index
License
Cocoon
Installing
Overview
Tutorial
cTwIG
Users
Developers
List of Docs
Links
XML Links
Infos
Who we are
Contributing
3rd Party
Patch Queue
Status
FAQ File
Changes
Todo
Hosting
Live Sites
Cocoon Hosting
Project
Bug Database
Code Repository
Dev Snapshots
Mail Lists
Mail Archives

Introduction

This document catalog-test.xml facilitates the testing of the entity catalogs and the resolution of entities.

For further information see Cocoon documentation: Entity resolution with catalogs

The following external entities have been declared in the head of this XML instance catalog-test.xml ...

  • document-v10.dtd (and hence characters.ent)
  • ISOnum.pen

Here is the actual declaration ...

<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.0//EN"
                          "dtd/document-v10.dtd"
[
 <!ENTITY % ISOnum PUBLIC
   "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML"
   "ISOnum.pen">
 %ISOnum;
]>

Tests

The following entity references should be properly resolved. Watch the build messages from "build docs" and see the result presented below.

NoteBeware: Even though Cocoon will deliver reliable ouput, your web browser may not render the document properly. Some browsers do not know what to do with the character entity.

Entity set  Character entity  Representation 
ISOnum.pen  &half;  ½ 
characters.ent  &ouml;  Jörg 

Copyright © 1999-2002 The Apache Software Foundation. All Rights Reserved.