Constraints on Attvalues

Peter Jones peterj at wrox.com
Thu Aug 27 12:42:00 BST 1998


In my ongoing struggle to master the XML 1.0 spec can anyone help me
with the following:
Concerning production [41] in sect 3.1 there is a well-formedness
constraint which says that the Attvalue cannot contain any direct or
indirect references to an external entity.
So for my element:
<myelem   attrib="&ent;"/>

&ent; can only refer to an internally declared entity, and the literal
in the entity value, EntValue, cannot contain
 "....&Another_ent;...." 
where &Another_ent; is an external general entity.

Am I on the right lines?

Peter Jones
WebDev Technical Editor
Wrox Press
mailto:peterj at wrox.com
***************
Wrox Press UK Ltd.
http://www.wrox.co.uk
Tel 44 121 706 6826
Fax 44 121 706 2967





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