Hi all,
I want to validate a bit of XML that is built up of various embedded documents
that all have their own little schema (it's actually a WS-Policy document). I
would like to obtain the PVI after the validation so I can read out the
defaults that may be present in the schemas. Because I do
Thank you for your input.
Would it be enough to simply use SchemaFactory to check if the schema
is valid? Or is validation against XMLSchema.xsd still necessary?
Thanks,
Simon
On Nov 16, 2007 5:05 AM, Michael Glavassevich <[EMAIL PROTECTED]> wrote:
> Validating your schema against the schema for
Hi Jack,
What you're getting from JDK 1.5 (com.sun.org.apache.xerces.internal.*) is
Sun's two to three year old fork off the Xerces codebase. This predates the
JAXP 1.3 implementation in Xerces and has bugs which are unique to it and
others which have long been fixed in Apache.
My advice to you w
Hi Simon,
The only benefit I could see to doing both is that you'll get PSVI from the
validation against XMLSchema.xsd which your application may want to use.
Otherwise it's just doing redundant work.
Thanks.
Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [EMAIL PROTECTED]
E
Hi Andy,
There's no way to tell which parts of a SchemaGrammar came from which
schema documents. If the schemas you're loading are consistent what you
could do is merge the components for a given target namespace into a single
SchemaGrammar object and eliminate (or replace) references to the other