On Mon, 2002-07-15 at 15:39, Limotte, Marc [IT] wrote:
> I'd like to use Dom4j and I have to read some XML request messages that are
> not fully XML conforming.

then it's not xml. it's a structured markup language that resembles xml,
it may even be sgml, but it's not xml.

> What can I do, to get dom4j or the xml parser to ignore this problem and
> "imply" the end-tags?  Note that some of the XML tags are closed... If they
> contain only text data, then they are NOT closed, but if they contain other
> XML tags, then they are closed.

i think you would have to write your own parser, honestly. you might
find inspiration from andy clark's nekohtml parser, which can convert
most html into xml. see http://www.apache.org/~andyc/. or you might
manually massage your data into xml and then parse it.

- donald


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to