RE: [xml-dev] how to design an HTML file to contain an XML file?

From
Anil Philip <>
To
Anil Philip <>, Didier PH Martin <>, 'David Megginson' <>, 'xml dev' <>, 'Joseph Dane' <>
Date
2006-07-27T11:02:01Z
ID
<>
Thread
RE: [xml-dev] how to design an HTML file to contain an XML file?
no replies?

Anil Philip <[email protected]> wrote:
Dont know if you saw this, but I did put in the xml tags and it does not display. However, there is the big problem of the parser choking.
---------
moving the <?xml versionfiltered="1.0" encoding="ISO-8859-1"?>
did not fix it.
However, changing to <xml versionfiltered="1.0" encoding="ISO-8859-1"> </xml>
removes the display of xml data on the first line in IE browser.
But when I try to parse this, I get
org.xml.sax.SAXParseException: The element type "meta" must be terminated by the matching end-tag "</meta>".
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at nodepad.OpenJWO.parseTree(OpenJWO.java:44)

I have also put the following as the first line in my startElement() and endElement():
 
  if(!namespaceURI.equalsIgnoreCase("http://www.w3.org/2001/XMLSchema-instance")) {
   return;
  }  
thanks,
Anil


Didier PH Martin <[email protected]> wrote: