473,492 Members | 4,301 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 1903
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
4639
by: Olaf Meyer | last post by:
Apprentently xerces 2.6.0 (Java) does not validate against contraints specified in the schema (e.g. constraints specified via unique element). The validation works with the XML editor I'm using...
4
2911
by: Lénaïc Huard | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I've some namespace problems when defining default values for attributes. My problem seems to come from the fact that the attributes are...
4
5574
by: joes | last post by:
Hello there I tried for several days to get a simple validation with xml schema & xerces working. Goal for me is tuse JAXP and not specific Xerces classes. I don't get the point what I am doing...
4
2325
by: Oskar Stuffer | last post by:
Hi! I'm using the msv tool which uses xerces to validate a XML document against a XML Schema definition. This is my XML Schema definition: <?xml version="1.0" encoding="ISO-8859-1"?>...
8
2682
by: pradeepsarathy | last post by:
Hi all, Does the SAX parser has eventhandlers for parsing xml schema. Can we parse the xml schema the same way as we parse the xml document using SAX Parser. Thanks in advance. -pradeep
1
3887
by: Benjamin Black | last post by:
Hello, I'm trying to get some code that uses the Xerces library (XML parsing) to run in Visual C++ 2005 Express. I've linked the library (xerces-c_2D.lib) and the \lib and \include locations to the...
7
10255
by: christian.eickhoff | last post by:
Hi Everyone, I am currently implementing an XercesDOMParser to parse an XML file and to validate this file against its XSD Schema file which are both located on my local HD drive. For this...
1
4717
by: Nuno | last post by:
Hello, I'm looking for a way of validating/parsing the xsd file (schema), i only been able of validating the xml file with the corresponding schema, but what i want is only validate the xsd...
9
2985
by: mstilli | last post by:
Hi, I am trying to use schema for server side validation using xerces to catch the validation errors. validating this XML: <Content4> <textarea13></textarea13>...
0
7118
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7157
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7192
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6862
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7364
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5452
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4886
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4579
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3087
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.