Re: [C++] SDO Uri and QName

2006-04-24 Thread Edward Slattery
I will look into that and see what I can do. It looks reasonably easy, but I would have to give you some constructors which do not include the internal "SDOXMLString" - I would give you ones which take a char* - (until I find someone who would be willing to implement an STL interface to the whole S

Re: [C++] SDO Uri and QName

2006-04-24 Thread Pete Robbins
Thinking a bit more about this it would be nice to expose the XSDHelperImpl method: void defineTypes(TypeDefinitions& types); Then I could create my own TypeDefinitions including the schema information and simply call this method. This would require that the TypeDefinitions, TypeDefin

Re: [C++] SDO Uri and QName

2006-04-24 Thread Edward Slattery
I think it makes a lot of sense. I dont currently have an "isQName" flag, but I do have a whole lot of flags such as "isFromList" which tell me that the original many-valued element was loaded from a XSD element. ( I have implemented as a single valued element with a property called "values", but

[C++] SDO Uri and QName

2006-04-21 Thread Pete Robbins
The current SDO implementation handles the mapping of QName to the SDO Uri type as per the specification. So if I use XSDHelper to load a schema which defines a property as type xs:QName, e.g.then use XMLHelper to load my xml containing ..<.. joe="ns1:fred" xmlns:ns1="myNS"...> then the