XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Dan UhlarSubject: Base type definition does not have any attributes
Author: Dan Uhlar
Date: 14 Dec 2007 02:57 PM
I am working with 3rd Party Schema (HL7.org V3).
When I validate via Stylus Studio i receive the following...

Validating FICR_MT600101UV01.xsd...
... Base type definition does not have any attributes
... Recurse: There is not a complete functional mapping between the particles

I actually receive 33 of the Recurse errors for each one of the HL7 messages that I attempt to validate.

The base type error references this type...
<xs:complexType name="CV">
<xs:annotation>
<xs:documentation>
Coded data, consists of a code, display name, code system,
and original text. Used when a single code value must be sent.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:restriction base="CE">
<xs:sequence>
<xs:element name="originalText" type="ED" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
The text or phrase used as the basis for the coding.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="translation" type="CD" minOccurs="0" maxOccurs="0"/>
</xs:sequence>
<xs:attribute name="code" type="cs" use="optional">
<xs:annotation>
<xs:documentation>
The plain code symbol defined by the code system.
For example, "784.0" is the code symbol of the ICD-9
code "784.0" for headache.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="codeSystem" type="uid" use="optional">
<xs:annotation>
<xs:documentation>
Specifies the code system that defines the code.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="codeSystemName" type="st" use="optional">
<xs:annotation>
<xs:documentation>
A common name of the coding system.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="codeSystemVersion" type="st" use="optional">
<xs:annotation>
<xs:documentation>
If applicable, a version descriptor defined
specifically for the given code system.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="displayName" type="st" use="optional">
<xs:annotation>
<xs:documentation>
A name or title for the code, under which the sending
system shows the code value to its users.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:restriction>
</xs:complexContent>
</xs:complexType>

The Recurse error references this type:
<xs:complexType mixed="true" name="adxp.country">
<xs:complexContent>
<xs:restriction base="ADXP">
<xs:attribute name="partType" type="AddressPartType" fixed="CNT"/>
</xs:restriction>
</xs:complexContent>
</xs:complexType>

These errors also disallow the use of the XSLT Mapper in Stylus Studio.

Because I do not own this schema I cannot modify it. Is there a way to "get around"/resolve these issues externally?

Thank you.
Dan

Postnext
(Deleted User) Subject: Base type definition does not have any attributes
Author: (Deleted User)
Date: 17 Dec 2007 03:35 AM
Hi Dan,
the snippet you posted doesn't help understanding what's wrong (the complex type adxp.country derives from ADXP, but the other declaration is for type CV, derived from CE). Could you send the (zipped) whole set of schemas to stylus-field-report@progress.com?

Thanks,
Alberto

Postnext
Dan UhlarSubject: Base type definition does not have any attributes
Author: Dan Uhlar
Date: 17 Dec 2007 06:14 PM
Alberto,

Thank you for your response. I have sent a .zip to the email address you specified.

I thought I would add that this HL7.org schema DOES validate using Altova. Not sure what that means, but I thought I'd let you know.

Thank's for your help.
Dan

Postnext
(Deleted User) Subject: Base type definition does not have any attributes
Author: (Deleted User)
Date: 18 Dec 2007 11:07 AM
Hi Dan,
thank you for the testcase; we have been able to find out why the schema wasn't validating. The fix will be in the next update of Stylus.

Thanks,
Alberto

Posttop
Dan UhlarSubject: Base type definition does not have any attributes
Author: Dan Uhlar
Date: 18 Dec 2007 12:40 PM
GREAT!

ThanX!
Dan

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

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