SAX and Attribute value of type ENTITY ?

Patrice Bonhomme Patrice.Bonhomme at loria.fr
Sun Aug 16 17:46:26 BST 1998


<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 at 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
  ==============================================================



xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list