XML Spec Questions

David Schach davidsch at microsoft.com
Sat May 31 03:16:57 BST 1997

In section 4.5 of the latest XML spec it says that if the predefined
entities are declared they must be declared as follows:

<!ENTITY lt        "<">
<!ENTITY gt       ">">
<!ENTITY amp    "&">
<!ENTITY apos   "'">
<!ENTITY quote  '"'>

Is the definition for amp valid XML?  The definition of EntityValue is
given is section 1.5 as:

EntityValue := '"' ([^%&] | PEReference | Reference)* '"'
	| "'" ([^%&] | PEReference | Reference)* "'"

This indicates that "&" is not a valid entity value? 

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

More information about the Xml-dev mailing list