|
[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.ukMon Jul 19 01:38:58 PDT 2010
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! 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
|






