Re: Validation with multiple schemas

Hi Dave,

> If I remove s:type="bar" from t.xml, though, XML Spy correctly says
> it is invalid while Xerces is still silent.
>
> If you think this is really just a Xerces bug, I will ask somewhere
> else, but I'm more worried that I'm doing something fundamentally
> wrong.

Well, the schema says that it's invalid for the attribute to be
missing, so if Xerces is validating but isn't reporting that, I think
it's buggy. Before reporting it, though, I'd make sure that you're
calling Xerces correctly and that it does spot other kinds of errors.

> If there is another parser/version that I could use to test my
> validation, I'd appreciate the tip also.

Try MSXML4. The easiest way to use it is to install MSXML4 and then
use Topologi's Schematron validator from www.topologi.com.

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/

Received on Tuesday, 13 August 2002 12:31:18 UTC