470,641 Members | 2,453 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,641 developers. It's quick & easy.

hl7 xml schema register problem with xerces library of DB2 Express-C v9

I have been trying to register some HL7 schemas into DB2-Express -C v9.

After invoking the following command:

complete xmlschema "datatypes-base";

it throws me the following error:

SQL16185N

XML document contains a syntax error. Reason code = "33 ".

After searching in the net I've discovered that it is an issue of the
xerces implementation that have a workarround changing the order of the
definition of the types:

http://mail-archives.apache.org/mod_...jira@brutus%3E

but then it throws me another error:

XML document contains a syntax error. Reason code = "98 ".

that also appears in Stylus Studio 2006 as:

"There is not a complete functional mapping between the particles"

However Oxygen 6.0 which uses xerces version 2.6.2, shows me the Schema
as a valid one.

Is there a consistent way to change the xerces library that DB2 uses?

I've been trying to modify the schemas in order to pass parser
validation, but it doesn't seem a good idea since the schemas are part
of the hl7 standard.

Oct 19 '06 #1
1 1804
Can you send the schema files and the script you are using to register
the schema ?
If this is changed from the original set. Do send the list of changes
as well.
I work in the DB2 XML Enablement team. and would like to reproduce this
error. You should be able to get my email id from my profile. or look
me up using http://www.ibm.com/contact/employees/us/

Couple of points
We have seen genuine errors in the schemas while registering Industry
standard schemas before.
Some tools are more lenient than others when it comes to validation and
that does not mean it is correct as per the standard.

changing the XML4C library is not something that an end user can do..

thanks,
Vijay Bommireddipalli
DB2 XML Enablement

aralvarez_nospam_at_gmail.com change _nospam_at_ for @ wrote:
I have been trying to register some HL7 schemas into DB2-Express -C v9.

After invoking the following command:

complete xmlschema "datatypes-base";

it throws me the following error:

SQL16185N

XML document contains a syntax error. Reason code = "33 ".

After searching in the net I've discovered that it is an issue of the
xerces implementation that have a workarround changing the order of the
definition of the types:

http://mail-archives.apache.org/mod_...jira@brutus%3E

but then it throws me another error:

XML document contains a syntax error. Reason code = "98 ".

that also appears in Stylus Studio 2006 as:

"There is not a complete functional mapping between the particles"

However Oxygen 6.0 which uses xerces version 2.6.2, shows me the Schema
as a valid one.

Is there a consistent way to change the xerces library that DB2 uses?

I've been trying to modify the schemas in order to pass parser
validation, but it doesn't seem a good idea since the schemas are part
of the hl7 standard.
Oct 20 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Lénaïc Huard | last post: by
4 posts views Thread by Oskar Stuffer | last post: by
8 posts views Thread by pradeepsarathy | last post: by
1 post views Thread by Benjamin Black | last post: by
1 post views Thread by Nuno | last post: by
1 post views Thread by Korara | last post: by
???
1 post views Thread by Stoney L | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.