1 <?xml version="1.0" encoding ="utf-8"?> 2 <!DOCTYPE document SYSTEM "ExternalDTD.dtd" [ 3 <!ENTITY max "Substituted text"> 4 ]> 5 <!-- ExternalDTD throws a Negative array size Exception when 6 trying to parse with the above DTD reference AND an entity declaration--> 7 <document> 8 <title>The Publishers </title> 9 <publisher> 10 Alfred Publishing 11 15535 Morrison 12 South Oaks CA 91403 13 &max; 14 </publisher> 15 <book price="$100" author = "Herold" number = "no_11">eXtensible Markup Language</book> 16 <bookurn xmlns='urn:loc.gov:books' xmlns:isbn='urn:ISBN:0-395-36341-6'/> 17 <pb/> 18 <pages /> 19 </document>