Next in thread → Next in month →

RE: [xml-dev] XML Syntax for XQuery 1.0 (XQueryX) invalid?

From
David P. Nesbitt <>
To
Michael Kay <>,
Date
2005-01-11T08:30:12Z
ID
<>
Thread
RE: [xml-dev] XML Syntax for XQuery 1.0 (XQueryX) invalid?
Michael,

Thanks for the insight.  I will try to submit a bug
against XMLSPY when I get a chance.

On the subject of an updted xqueryx.xsd, which it
sounds like you are involved with, there seems to be
one bug in the current version. "comparisonOpTypes"
seems to have "&gt;=" twice and is missing "&gt;".

As always, I appreciate your help.

Regards,
Dave

--- Michael Kay <> wrote:

> I think the spec is quite clear that you can validly
> derive xs:string by
> restriction from union(xs:string, ...) 
> 
> Generally, if XMLSpy differs from Xerces, XMLSpy is
> usually wrong.
> 
> Michael Kay
> http://www.saxonica.com/
> 
> > -----Original Message-----
> > From: David P. Nesbitt
> [mailto:] 
> > Sent: 10 January 2005 15:17
> > To: Michael Kay; 
> > Subject: RE: [xml-dev] XML Syntax for XQuery 1.0
> (XQueryX) invalid?
> > 
> > Michael,
> > 
> > Thanks for the response.
> > 
> > --- Michael Kay <> wrote:
> > 
> > > The schema is valid according to Xerces, XSV,
> and
> > > Saxon. What exactly is
> > > XMLSpy complaining about?
> > 
> > XMLSpy complains about the stringConstantExpr.  It
> > highlights the <xsd:element name="value"
> > type="xsd:string"/> and says:
> > 
> >  "Simple type 'xs:string' is not validly derived
> from
> > 'constantValueType'."
> > 
> >
>
http://apps.gotdotnet.com/xmltools/xsdvalidator/Default.aspx
> > says the following:
> > 
> >   Validation error:
> > 
> > Invalid particle derivation by restriction. An
> error
> > occurred at , (75, 3).
> > Invalid particle derivation by restriction. An
> error
> > occurred at , (93, 3).
> > Invalid particle derivation by restriction. An
> error
> > occurred at , (66, 3).
> > Invalid particle derivation by restriction. An
> error
> > occurred at , (84, 3). 
> > 
> > I am interested on what you think of these errors.
> > 
> > Regards,
> > Dave
> > 
> > 
> > 
> > 		
> > __________________________________ 
> > Do you Yahoo!? 
> > Take Yahoo! Mail with you! Get it on your mobile
> phone. 
> > http://mobile.yahoo.com/maildemo 
> > 
> 
> 
>
-----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org
> <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> 
> The list archives are at
> http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this list use the
> subscription
> manager:
> <http://www.oasis-open.org/mlmanage/index.php>
> 
> 



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail
Next in thread → Next in month →