Strangely enough, that's how it behaves... I can't understand why & how!
I have replaced with the distribution binaries from 2.4.0, 2.5.0 and 2.6.1, it fails (normal). I use the Xerces 2.5.0 build I have done with eclipse (w/o ant), it works... This thing is really getting me mad! Jean Georges > -----Original Message----- > From: Andy Clark [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 19, 2004 19:25 > To: [EMAIL PROTECTED] > Subject: Re: Parser to solve XHTML errors? > > Jean Georges PERRIN wrote: > > I have made a small test in a test environment, and it looks like Xerces > is > > able to correct such xml errors. I was surprised. However, some features > are > > Assuming that the input documents are erroneous as you say, > I don't see how Xerces could parse them correctly. For > example, the following XML code: > > <body> > <img src='me.gif'> > <p>Hello there</p> > </body> > > can be parsed up to the end body tag. It's at that point > that the end tag it sees does not equal the currently open > tag, <img>. Since img did not end properly for XML (e.g. > <img ... />), the following paragraph would appear as a > child of the img tag. However, it will fail absolutely > due to a well-formedness constraint when it hits the end > body tag in the example. > > If your documents can be parsed with Xerces I would be > surprised and it would mean there is a bug in Xerces. > > -- > Andy Clark * [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
