[jdom-interest] JDOM + Xerces 2.2?

Mark Woon morpheus at SMI.Stanford.EDU
Mon Oct 21 11:19:37 PDT 2002


Elliotte Rusty Harold wrote:

> At 2:29 PM -0700 10/20/02, Mark Woon wrote:
>
>> Yes:
>>
>>      SAXBuilder builder = new SAXBuilder(true);
>>      document = builder.build(inStream);
>
>
>
> In that case, I think the answer's obvious. Your document is not valid 
> according to its schema. JDOM is reporting this by throwing an 
> exception. Isn't this what you would expect to happen? Or am I missing 
> something?


Well...  With Xerces 1.4 it works fine, and the error is "no grammar 
found," which I don't equate with an invalid document according to the 
schema.

-Mark





More information about the jdom-interest mailing list