[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...

Philip Fennell Philip.Fennell at marklogic.com
Sun Jul 18 17:16:58 PDT 2010


  I've got an issue with the XQueryX Schema...
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


It suggests that this declaration:

<xsd:element name="itemType" abstract="true"/>

at line 341 in the XQueryX schema is the culprit.


Is there anyone maintaining XQueryX at present and, if so, would they like to suggest an update for the schema.


Regards

Philip Fennell
Consultant

Mark Logic Corporation
www.marklogic.com

E-mail: http://x-query.com/mailman/listinfo/talk
Mobile: +44 (0)7824 830 866 







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.