Hi Patricio,

On Mon, 2006-10-16 at 22:02 +0200, Patricio Galeas wrote:
> I have a set of XML files which contain an ill-formed attribute:
> 
> <F P=10> some text </F>

<snip>

> Is there a way to ignore the attribute definition and parse these documents
> without to fix the XML files?

Digester uses a normal xml parser to read the file. So this question
should really be asked on the xml parser support lists; if you can find
an xml parser that will handle this then Digester will be ok.

However I doubt that any such option exists for XML parsing; this is
simply invalid xml.

You might want to experiment with using NekoHtml to pre-process the
input (converting it to valid xml):
  http://people.apache.org/~andyc/neko/doc/html/

Regards,

Simon



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to