view test/javax/xml/jaxp/unittest/sax/toys_error.xml @ 779:2b61bfcaa586

8132660: Change jaxp unit test package name to be different with jaxp api Reviewed-by: joehw Contributed-by: frank.yuan@oracle.com
author joehw
date Mon, 10 Aug 2015 09:52:32 -0700
parents test/javax/xml/jaxp/unittest/org/xml/sax/toys_error.xml@29ba77ad2a87
children
line wrap: on
line source

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE toys  [
<!ENTITY   % external SYSTEM "externalDTD.dtd">
%external;
<!ELEMENT toys (toy*)>
<!ELEMENT toy (name,price)>
<!ATTLIST toy id CDATA #REQUIRED>
<!ENTITY name1 "toy1's name">
]>



<!--
    Document   : toys.xml
    Created on : August 21, 2012
    Author     : Patrick Zhang
    Description: Sample test file for org.xml.sax.ext.DefaultHandler2
-->

<ns1:toys xmlns:ns1="http://ns1.java.com">
	<![CDATA[<greeting>Hello</greeting>]]>
    <toy id="1">	
        <name>&name1;</name>
        <price>98470</price>
    </toy>
    <toy id="2">
        <name>&name3;</name>
        <price>345</price>
    </toy>         
</ns1:toys>