Well, I started with the 'Xerces Java Parser 1.3.1 Release' but on
http://xml.apache.org/xerces-j/schema.html,
I saw the list of 'Features NOT Supported'.  It does not support some of
the things I need and one of that is constraints.
I confirmed following Bug (1) and stopped using this parser.

Is there any (alpha/final) release around that supports following
unsupported features in 1.3.1?

Features NOT Supported in 1.3.1
                    Constraints in Chapter 5 and elsewhere in the
specifications
                    Nullable
                    Block and final
                    Fixed and default values of elements

Thank you very much.

Regards,
Kiran



Andy Clark wrote:

> 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]


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

Reply via email to