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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Using Tidy for XML correction

[ Lists Home | Date Index | Thread Index ]
  • From: "K. Ari Krupnikov" <ari@iln.net>
  • To: Linda van den Brink <lvdbrink@baan.nl>, xml-dev@xml.org
  • Date: Fri, 06 Oct 2000 01:51:36 -0700

Linda van den Brink wrote:

> I thought I'd see if Tidy can correct the wellformedness errors for me, but
> it seems as though it can't. What I get are things like
> <p>
> <list>
> <listitem>
> <courier>
> Some text
> </courier>
> </p>
> To which Tidy replies: "Unexpected </p> in <listitem>. The document has
> errors that must be fixed before using HTML Tidy to generate a tidied up
> version."
> 

It seems like your program outputs valid SGML - in SGML end tags may be
implied.
You can try running James Clark's SP (http://www.jclark.com/sp/) or SX
(http://jclark.com/sp/sx.htm) to convert this to XML
-- 
K. Ari Krupnikov

DBDOM - bridging XML and relational databases
http://www.iter.co.il




 

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

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