Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/src/libraries/HaXml/tests/xml-conformance/eduni/xml-1.1/054.xml

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


<?xml version="1.1" encoding="iso-8859-1"?>
<!-- Contains a character reference to a C0 control character (form-feed)
     in an entity value.  This will be legal (in XML 1.1) when the entity
     declaration is parsed, but what about when it is used?  According to
     the grammar in the CR spec, it should be illegal (because the 
     replacement text must match "content"), but this is probably not
     intended. -->
<!DOCTYPE foo [
<!ELEMENT foo ANY>
<!ENTITY e "&#x0c;">
]>
<foo>&e;</foo>

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.