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.