[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: XML Syntax for XQuery 1.0 (XQueryX) invalid?

  • To: Michael Kay <mike@s...>, xml-dev@l...
  • Subject: RE: XML Syntax for XQuery 1.0 (XQueryX) invalid?
  • From: "David P. Nesbitt" <david_p_nesbitt@y...>
  • Date: Tue, 11 Jan 2005 00:30:12 -0800 (PST)
  • Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=1I1wt2zBb1hCyHyDI4S64CuaqIs9nITvNFqC3QSawBEj+YBG1coNfsxYtEqPb0WNLQ+klAdj8ws3spJ9t0IvBJZzOzW9EemoofdLE8onmAxQYySH+7xiCgS4u6TC/oHKaQwjfnJ2Hg+MvZYX/NomE3cnzfvLOxb03Lpe1MYFDHQ= ;
  • In-reply-to: <E1Co20V-00075I-00@u...>

invalid particle derivation by restriction
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 <mike@s...> 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:david_p_nesbitt@y...] 
> > Sent: 10 January 2005 15:17
> > To: Michael Kay; xml-dev@l...
> > Subject: RE:  XML Syntax for XQuery 1.0
> (XQueryX) invalid?
> > 
> > Michael,
> > 
> > Thanks for the response.
> > 
> > --- Michael Kay <mike@s...> 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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.