> IMHO this was not necessary. We have only internal entities. From the
> DocBook - The Definitiv Guide on page 610 or online in the Glossary:
> 
> external entity
>   An external entity is a general entity that refers to another document.
>   Externals entities are often used to incorporate parsable text
>   documents, like legal notices or chapters, into larger units, like
>   chapters or books.

So you say we have only internal entities. See what the
XML Recommendations says about internal entites:

| 4.2.1 Internal Entities
|
|  [Definition: If the entity definition is an EntityValue, the defined
|  entity is called an internal entity. There is no separate physical
|  storage object, and the content of the entity is given in the
|  declaration.] 

So there is no physical storage object, the content is in the declaration.
This type of entities are the ones defined in language-defs.ent
and language-snippets.ent.

OK, what the XML Recommendation says about the External Entities:

| 4.2.2 External Entities
|
|  [Definition: If the entity is not internal, it is an external entity,
|  declared as follows:]
|   
|   External Entity Declaration
|
|     [75]   ExternalID   ::=   'SYSTEM' S SystemLiteral
|                             | 'PUBLIC' S PubidLiteral S SystemLiteral
|     [76]   NDataDecl   ::=   S 'NDATA' S Name


You have qouted my "phpdoc/en/pear/standards.xml" modification.
So see how is this defined (as an external entity) in "chapters.ent" :

<!ENTITY pear.standards     SYSTEM "./en/pear/standards.xml">

This perfectly matches the production of an external entity,
qouted above from the XML Recommendation.

> BTW the above URL is wrong and have not found your recommend spec.

It works for me. It points to the 4.3.1 part of the
XML Recommendation. Please wait for some minutes to
download as it is a large file (the same link again):
http://www.w3.org/TR/2000/REC-xml-20001006#sec-TextDecl

Goba

Reply via email to