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

Index
License
Download

Documentation
Introduction
Installing
User Guide
Dev Guide
Tutorial
FAQs
ToC

Status
Changes
Todo

Community
Hall of Fame
Contributing
Mail Lists
Mail Archives

Project
Bug Database
Code Repository
Dev Snapshots

Hosting
Live Sites
Cocoon Hosting

Links
Cocoon Links
XML Links

Cocoon 1.x
Old Generation

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.