[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: how to design an HTML file to contain an XML file?

  • To: xml-dev@l...
  • Subject: Re: how to design an HTML file to contain an XML file?
  • From: Tei <oscar.vives@g...>
  • Date: Thu, 27 Jul 2006 13:34:57 +0200
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=uCMv/5y/BC/eMZvrA9qPVFdgSP+2HvuVzxt+GQMCd8FCAkVs3lqeJUGiTIVGjWkRKBfcQKiAYCivEpMln4Gvu87ZyYAePjFyWlPBb7Bd9D4H1J/JlOGfWVGKNq97LJycEBUgam5GzfszVFZXLZldXziDgRfvdf9myO+XJkW5Cs8=
  • In-reply-to: <20060727110201.39898.qmail@w...>
  • References: <20060727110201.39898.qmail@w...>

activate xml file
1) The tag <xml versionfiltered="1.0" encoding="ISO-8859-1"> activate
a XML parser on a web browser. </xml> will close the parse data.. I
don think the parser will expect more data before the </xml>.  But the
web browser is a strange animal, so maybe support multiple <xml>
documents or mixing a xml document with something else. No idea. You
sould not build on undefined beaviors.

2) I dont really know much about SAXParsing. To me Sax sound like a
finland pop group. Maybe theres a Sax solution withing Sax "manual" or
"recipe book". But I guest is a XML parser

3) You are not trying anithing has ben suggested here. Are you?. I
dont expect a error message, If your XHTML file is correct.

4) HTML visualization can be controled with CSS, so that problem is
easy to fix once the browser render the doc.

5) The error message  "The element type "meta" must be terminated by
the matching end-tag </meta>"  that vulcanian for "He dood, add a
</meta> tag after your data!". A parser can break on a unrelated topic
( ";" and C compilers...)  but maybe your doc really lack a </data>
tag.


On 7/27/06, Anil Philip <goodnewsforyou@y...> wrote:
> no replies?
>
>
> Anil Philip <goodnewsforyou@y...> 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():

Purchase Stylus Studio Online Today!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.