OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   SAX and Attribute value of type ENTITY ?

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





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS