Well at least it tries now. I still get the error
cvc-complex-type.2.4.a: Invalid content was found starting with element
'order_date'. One of '{order_date}' is expected. Column: 14 Line: 3
Which is bogus, the document is correct.
> -----Original Message-----
> From: Scott Shaver [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 20, 2006 12:48 PM
> To: [email protected]
> Subject: RE: Xerces 1.4.4, XML, XSD and validation
>
>
> That was it thanks so much, would have been nice if the
> examples explianed that.
>
> new xml piece:
>
> <shippingRequest xmlns="http://foo.comp.com"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://foo.comp.com
> http://foo.comp.com/downloads/it/schema/riverbed_ship_request.xsd">
>
>
> and I'm also now setting
>
> domParser.setFeature("http://apache.org/xml/features/honour-al
> l-schemaLo
> cations", true);
>
> Thanks again.
>
> > -----Original Message-----
> > From: Michael Glavassevich [mailto:[EMAIL PROTECTED]
>
> > Sent: Thursday, April 20, 2006 12:38 PM
> > To: [email protected]
> > Subject: RE: Xerces 1.4.4, XML, XSD and validation
> >
>
> > The external schema location properties have the same
>
> > definitions as the ones defined in the schema spec [1]. The
>
> > value of schemaLocation is a list
>
> >
>
> > of pairs of URIs, where the first of each pair is a target
>
> > namespace and the second of each pair is a schema location
>
> > hint. You've only specified one URI. If that worked with
>
> > Xerces 1.4.4, it had a bug.
> >
>
> > [1] http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/#schema-loc
> >
>
SPECIAL NOTICE
All information transmitted hereby is intended only for the use of the
addressee(s) named above and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or distribution
of confidential and privileged information is prohibited. If the reader
of this message is not the intended recipient(s) or the employee or agent
responsible for delivering the message to the intended recipient, you are
hereby notified that you must not read this transmission and that disclosure,
copying, printing, distribution or use of any of the information contained
in or attached to this transmission is STRICTLY PROHIBITED.
Anyone who receives confidential and privileged information in error should
notify us immediately by telephone and mail the original message to us at
the above address and destroy all copies. To the extent any portion of this
communication contains public information, no such restrictions apply to that
information. (gate01)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]