Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/src/libraries/HaXml/tests/xml-conformance/ibm/invalid/P56/ibm56i12.xml

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


<?xml  version="1.0"?>
<!-- validity constraint check for Production 56(Negative test)-->
<!DOCTYPE test
 [
 <!ELEMENT test ANY>
 <!ELEMENT landscape EMPTY>
 <!ENTITY image SYSTEM "d:\testspec\images\sunset.gif" NDATA gif>
 <!ATTLIST landscape sun ENTITY #IMPLIED>
]>
<test>
<landscape sun = "notimage"></landscape>
In the attribute decl, values of type ENTITY match the Name production
but does not match the name of any entity declared in the DTD
</test>

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.