|
[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.comSun Jul 18 17:16:58 PDT 2010
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! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






