Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/src/libraries/HaXml/tests/xml-conformance/ibm/valid/P43/ibm43v01.xml

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


<?xml version="1.0"?>
<!DOCTYPE root [
  <!ELEMENT root (a,b)>
  <!ELEMENT a EMPTY>
  <!ELEMENT b (#PCDATA|c)* >
  <!ELEMENT c ANY>
  <!ENTITY inContent "<b>General entity reference in element content</b>">
]>
<!--* content: element|CharData|Reference|CDSect|PI|CDSect|PI|Comment *-->
<root><a/><b>
<!-- there is an empty element in the above line -->
   <c></c> 
   CharData: content of b element
   %paaa; : PE reference should not be recognized in element content 
   <c>
<?PIcontent anyProcessingInstruction?>
<!-- Comment content -->
    &inContent;
    Charater reference: &#x41;
    CDSect in content: <![CDATA[ <html>markups<head>HEAD</head><body>nothing</body></html> ]]>
   </c>
</b>
</root>
<!--* test P43 *-->

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].