mr brown;

are you asking about validating XML *with* a schema ( as mr ashish alludes
to in his response )

or are you asking about validating the *schema*, which is what i think you
are asking about?

i thought that the beauty of schema is that you are supposed to be able to
validate them.

but when i make that statement, i see the glimmer of a halting problem
here :-)

so, if we *can* validate schema, what do we validate them against? another
schema? a dtd?

if it's against a schema, then do we need to know how to validate that
schema against another schema?

o heavens, my head hurts.

is there somebody here who can tell me how all of this is supposed to
work?

1. Can i validate a schema?

2. if so, how do i validate it? against what?

tnx!

johnu

On Mon, 14 May 2001, Ashish wrote:

> try using
> bash-2.03$ java dom/DOMCount -v -n -s
> ~/xerces-1_3_1/data/personal-schema.xml
>
>
> ----- Original Message -----
> From: "Curtis Brown" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, May 14, 2001 1:56 PM
> Subject: personal.xsd example won't validate
>
>
> > Using xerces 1.3.1, I try to run the DOMCount sample on the
> > personal.xsd file from the data subdir, but I get the following
> > errors:
> >
> > bash-2.03$ java dom/DOMCount -v -n -s ~/xerces-1_3_1/data/personal.xsd
> > [Error] personal.xsd:2:53: General Schema Error: Grammar with uri 2:
> http://www.w3.org/2000/10/XMLSchema , can not found.
> > [Error] personal.xsd:2:53: Element type "schema" must be declared.
> > [Error] personal.xsd:4:28: Element type "element" must be declared.
> > ...
> >
> > Has anyone been able to validate personal.xsd?  Does anyone have an
> > example of a schema that uses namespaces that also validates?
> >
> > Thanks,
> > Curtis Brown
> > [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]
>
>


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

Reply via email to