SAX and Attribute value of type ENTITY ?

Patrice Bonhomme (Patrice.Bonhomme@loria.fr)
Sun, 16 Aug 1998 17:44:36 +0200


<hi/>

If an Attribute value is of type ENTITY (<!ATTLIST foo docref ENTITY #IMPLIED>
) what value should return a SAXDriver ? The entity or the value of the entity
?

Example :

<?xml version="1.0" ?>
<!DOCTYPE foo [
<!ELEMENT foo (#PCDATA)>
<!ATTLIST foo docref ENTITY #IMPLIED>
<!ENTITY mydoc SYSTEM 'mydoc.xml'>
]>
<foo docref="mydoc">blah</foo>

A SAX Driver should return "mydoc" or resolve the entity and return mydoc.xml ?

Thanks,

Pat.

-- 
  ==============================================================
  bonhomme@loria.fr               |      Office : B.228
  http://www.loria.fr/~bonhomme   |      Phone  : 03 83 59 30 52
  --------------------------------------------------------------
   * Serveur Silfide  : http://www.loria.fr/projets/Silfide
   * Projet Aquarelle : http://aqua.inria.fr
  ==============================================================