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

Index
News
License
Download

Documentation
Introduction
Installing
Overview
User Guide
Dev Guide
Tutorials
FAQs
How-Tos
Performance
Snippets
ToC

Status
Changes
Todo
Planning notes
Patch queue

Community
Cocoon Bylaws
Hall of Fame
Contributing
Mail Lists
Mail Archives

Project
Bug Database
Code Repository
Dev Snapshots

Links
Cocoon Links
Live Sites
Cocoon Hosting

Other Releases
Cocoon 1.x
Cocoon 2.1

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.