[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message]

I've got an issue with the XQueryX Schema...

David Carlisle davidc at nag.co.uk
Mon Jul 19 01:38:58 PDT 2010


  I've got an issue with the XQueryX Schema...
On 19/07/2010 00:16, Philip Fennell wrote:
> Whilst in the process of generating some XQuery code via XQueryX I've noticed that the area of variable declarations 'xqx:varDecl' does not seem to be supported properly/completely by the published XML Schema.
>
> The following example:
>
> <xqx:varDecl>
>    <xqx:varName>NAT_ID</xqx:varName>
>    <xqx:typeDeclaration>
>      <xqx:itemType>xs:string</xqx:itemType>
>      <xqx:occurrenceIndicator>?</xqx:occurrenceIndicator>
>    </xqx:typeDeclaration>
>    <xqx:external/>
> </xqx:varDecl>
>
> causes the validation to fail (in oXygen using Xerces) with this message:
>
> SystemID: C:\Users\...
> Engine name: Xerces
> Severity: error
> Description: cvc-elt.2: The value of {abstract} in the element declaration for 'xqx:itemType' must be false.
> Start location: 16:7
> End location: 16:19
> URL: http://www.w3.org/TR/xmlschema-1/#cvc-elt
>

I think the idea is that you use atomicType which is in the substitution 
group of itemtype to hold atomic type names such as xs:string.

David



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
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-2011 All Rights Reserved.