473,396 Members | 1,772 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

HL7 XSD's to Classes with xsd.exe failing

Hi,

I'm trying to create some classes from XSD Schemas from the HL7v3
specification (www.hl7.org). However, the schemas I'm using are
returning errors.

C:\projects\NPfIT\cs\MHS\MessageClasses\schemas>xs d
POII_IN040101UK01.xsd /c
Microsoft (R) Xml Schemas/DataTypes support utility
[Microsoft (R) .NET Framework, Version 1.1.4322.573]
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.

Error: Error generating classes for schema 'POII_IN040101UK01'.
- Schema with targetNamespace='urn:hl7-org:v3' has invalid syntax.
- Invalid 'memberTypes' attribute: Value cannot be null.
Parameter name: name.

All the membertypes attributes in the schema and it's included schemas
have values. No Union elements don't have the memberTypes attribute.

Does anyone have any suggestions? XMLSpy reports the XSD as valid.

Nov 12 '05 #1
1 3526
http://www.mcse.ms/message629509.html

Appears to be caused by blank trailing spaces in memberTypes
attributes. (Manually) fixing my hundreds of XSD's seems to have
worked.

(This applies to XSD's supplied by the UK NHS NPFIT, I've notified them
of the poor quality of the provided data)

Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Koen Appeltans | last post by:
Hi, I'm having a problem with the xsd-tool from the dotNet framework. We use this tool to generate vb-classes of our xsd's. The problem is that we do a lot of includes in our xsd's of our...
1
by: Invalidlastname | last post by:
Hi, I have some questions regarding to use vs.net to generate xsd from database tables then generate classes, not typed datasets, from the xsd. Basically I want to have some light-weigh classes...
5
by: Paw Pedersen | last post by:
Is it possible to load a XSD and loop throw the nodes and attributes that you whant filled out, and then generate a XML instance with the trees and data that you have filled data in? And how do...
2
by: farseer | last post by:
Hi, First, sorry for this long post, but i'd like to explain my problem in detail... i have generated some classes from my schema. Classes are generated for the root (overall document),...
1
by: robc | last post by:
Hi, I am using the xsd.exe tool (in .NET 2.0) to generate C# classes from a set of schemas. Some of the XML types that I have defined are used by more than one schema. For maintenance...
1
by: Martin Z | last post by:
I'm getting acquainted with the whole XML/XSD thing, and I've run into a wall. I have a tree of objects that I deserialize from XML for configuration reasons. I have generated XSD from the...
3
by: umer riaz | last post by:
Hi, I am trying to create a cs classes from an imported scheme, specifically the OTA (open travel alliance) The schemas use <xs:union> in the base include file OTA_SimpleTypes.xsd In addition...
4
by: BorisBoshond | last post by:
Hi all, Hope someone is able and willing to help me with following problem. I received a xsd file from another company, our company i supposed to return xml based on that xsd. Problem is that I...
2
by: Roy Chastain | last post by:
I have some 'base' schema definitions that are going to be in several projects in the future. The processing of resulting classes created by XSD will be consistent across the new projects. I...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
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
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
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...
0
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
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
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,...

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.