1.write program to show demo of XmlException class
2.create an xml file on the basis of the following given inline DOCTYPE declaration and write a program to validate it against DTD
<!DOCTYPE chapter[
<!ELEMENT chapter(title,para+)>
<!ELEMENT title(#PCDATA)>
<!ELEMENT para(#PCDATA)>
]>