By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,812 Members | 863 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,812 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.