mattKnight
Programmer
I am struggling...
I have created a xml file and schema, (hand coded using XML spy) which validate correctly (well formed and complies with schema)
It has elements that have datatype dateTime and Duration. There are also some otehr elements using simple data types (string int etc)
I am attempting to read these files into a system I am writing (Visual C++) using the MSXML4 objects. I have had some success and some failure too!
First, I have a couple of test files that contain schema errors (to test the parser is stable with rubbish data)
The files fail the XMLspy schema validation but seemingly pass the MS one i.e. file fails in XML spy but MS passes it as valid. I have also tried this excercise in VB, with the same result. This may be related to the next problem...
which is that the duration data type is not supported by the MS objects.
Can anyone confirm to me that the MS objects are a good implementation? Have I done anything daft? I can't post either the schema, or xmlfiles until later - I am not at a machine with access to them.
Take Care
Matt
If at first you don't succeed, skydiving is not for you.
I have created a xml file and schema, (hand coded using XML spy) which validate correctly (well formed and complies with schema)
It has elements that have datatype dateTime and Duration. There are also some otehr elements using simple data types (string int etc)
I am attempting to read these files into a system I am writing (Visual C++) using the MSXML4 objects. I have had some success and some failure too!
First, I have a couple of test files that contain schema errors (to test the parser is stable with rubbish data)
The files fail the XMLspy schema validation but seemingly pass the MS one i.e. file fails in XML spy but MS passes it as valid. I have also tried this excercise in VB, with the same result. This may be related to the next problem...
which is that the duration data type is not supported by the MS objects.
Can anyone confirm to me that the MS objects are a good implementation? Have I done anything daft? I can't post either the schema, or xmlfiles until later - I am not at a machine with access to them.
Take Care
Matt
If at first you don't succeed, skydiving is not for you.