[Home] [By Thread] [By Date] [Recent Entries]

  • From: Patrice Bonhomme <Patrice.Bonhomme@l...>
  • To: "XML Developers' List" <xml-dev@i...>
  • Date: 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@l...               |      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@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member