Gareth,

Thanks for the reply and the blog entry, it's a good idea.

Well my question again is how best to use Xerces to validate XSDs?  What
isn't clear from the blog is the degree of fuzziness involved when
Xerces does successfully 1) load an XSD schema, 2) load an XML document
that has a schema when full schema checking is turned on.  Is there a
more formal way to quantify what Xerces can validate and cannot
validate?  I don't even know if the W3C has validation or conformance
levels, but that's what it sounds like here.

Otherwise it seems like validation in Xerces is some kind of crap shoot!

But my question is, once again, assuming that you are only using Xerces,
what is the best and most thorough way to validate an XSD?

Thanks for any more clarity here,

Elisha

> 
> Hi Elisha,
> 
>       I wrote a blog entry on this a little while ago. Take a look at
> 
>
http://blog.parthenoncomputing.com/xerces/archives/2005/04/can_i_validat
e.
> html
> 
> 
> Cheers,
> 
> Gareth
> 
> Elisha Berns wrote:
> > Gareth,
> >
> > Thanks for the correction.  So how do you suggest for xsd validation
> > (without an instance document)?
> >
> > Thanks,
> >
> > Elisha
> >
> >
> >
> >>[EMAIL PROTECTED] wrote:
> >>
> >>>Yes, there actually is a theoretically better way. The only problem
> >
> > is
> >
> >>that
> >>
> >>>it did not work for me when I tried it before, and I do not like
> >>>recommending methods that I have not had success with.
> >>
> >>The Schema for Schemas is is special schema that is allowed to do
> >
> > things
> >
> >>that others are not (such as define the base types). You therefore
> >>cannot use it. In addition to this there are *many* rules that are
not
> >>expressed in that schema that are in the text of the specification.
> >
> > Take
> >
> >>a look in the archives if you want more info - this has been
> >
> > extensively
> >
> >>discussed before.
> >>
> >>Cheers,
> >>
> >>Gareth
> >>
> >>--
> >>Gareth Reakes, Managing Director      Parthenon Computing
> >>+44-1865-811184                  http://www.parthcomp.com
> >>
>
>>---------------------------------------------------------------------
> >>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]
> >
> >
> 
> --
> Gareth Reakes, Managing Director      Parthenon Computing
> +44-1865-811184                  http://www.parthcomp.com
> 
> ---------------------------------------------------------------------
> 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