OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

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

[ Lists Home | Date Index | Thread Index ]
  • To: Tei <oscar.vives@gmail.com>, xml-dev@lists.xml.org
  • Subject: Re: [xml-dev] how to design an HTML file to contain an XML file?
  • From: Anil Philip <goodnewsforyou@yahoo.com>
  • Date: Thu, 27 Jul 2006 10:03:28 -0700 (PDT)
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=z6xoN9bDL9Q+scOobmu3AwhOfIZVynFBDnFSx6/DXXj6cz3wgR+0gpjngft1L+BOs76bFm7+y0RE/worUJNTE4gE86cNPfZQZ4VThzV/KWFSAYqdIbUSYsNVyjP384i0fr9fl/4WVIqkdaaaCnMRxtv6umeMzP+xZNuxhCWxcYw= ;
  • In-reply-to: <a093da440607270434o6c18579eh34b6628f2d427cc4@mail.gmail.com>

Sorry, but I tried everything you suggested.
The <meta> parse error was apparently due to a bug in the HTML editor, Macromedia Homesite - even though I specified XHTML, it still did not close the </meta> tag.
Now there are other parse errors. Perhaps I shall post my original question again.
thanks,
Anil


Tei <oscar.vives@gmail.com> wrote:
1) The tag activate
a XML parser on a web browser.
will close the parse data.. I
don think the parser will expect more data before the . But the
web browser is a strange animal, so maybe support multiple
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 " that vulcanian for "He dood, add a
tag after your data!". A parser can break on a unrelated topic
( ";" and C compilers...) but maybe your doc really lack a
tag.


On 7/27/06, Anil Philip wrote:
> no replies?
>
>
> Anil Philip 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
> did not fix it.
> However, changing to
>

> 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 "".
> 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():

-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org , an
initiative of OASIS

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager:



How low will we go? Check out Yahoo! Messenger’s low PC-to-Phone call rates.



 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS