Kiran Halwai wrote:
> functionality? I am using Oracle parser.

Step 1: Uninstall Oracle parser. ;)
Step 2: Install Xerces-J parser.
Step 3: Try example again.

> Any help would be greatly appreciated.

Seriously, I ran into several problems using your sample with
Xerces-J but it's mostly various bugs interacting in Xerces.
Bug 1) If the Schema uses a named prefix (i.e. xsd:schema
instead of just schema) then the parser can't properly create
the identity constraints. Bug 2) Putting schema grammar in
default namespace solves Bug 1 but introduces another problem.
The parser will emit errors that it can't find the element
declarations for "my:ValidSet" and "my:Values". BUT... it
still creates the identity constrains and validates them in
the instance document correctly. Strange, indeed.

-- 
Andy Clark * IBM, TRL - Japan * [EMAIL PROTECTED]

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

Reply via email to