Document validates but shouldn't

This should cover W3C XML Schema, Relax NG and DTD related problems.
veruca
Posts: 6
Joined: Tue Dec 21, 2004 8:00 pm
Location: Austin, Texas, USA

Document validates but shouldn't

Post by veruca »

I'm referencing a schema using a relative path:

Code: Select all

<concept xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../concept_xsls/concept.xsd">
When I click the Validate document button, the document validates correctly even though I know it contains errors according to the schema. In fact, when I select Document»XML Document»External Validation, then navigate to the absolute path to the schema, I receive the validation errors I expect.

Then when I select Document»XML Document»Associate Schema, then navigate to the schema, Oxygen puts the absolute path in my document as expected. However, when I click the Validate document button, I don't receive the validation errors I should (and did receive with the External Validation).

I'm using Oxygen 5.1 and I have Java VM 1.5.0_06-b05 (which I believe is the latest Java VM).

Another kink in this is that a co-worker of mine has the same Oxygen and Java VM version and she clicks Validate document for the same exact document and she *does* receive the validation errors. We've both configured our XML Parser Options in the Preferences dialog the same way.

Have you ever seen this behavior? Do you have any ideas for what else I can check or configure to make the validation errors show up as expected?
veruca
Posts: 6
Joined: Tue Dec 21, 2004 8:00 pm
Location: Austin, Texas, USA

Post by veruca »

Ah, nevermind! It turns out all our XML Parser Options weren't the same. By checking the top 2 checkboxes, I correctly receive all the validation errors.
Post Reply