Good! because the SDO XPath code looks a bit messy :-(
Cheers,
On 09/08/06, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote:
Jean-Sebastien Delfino wrote:
> Pete Robbins wrote:
>> I'll take a look at the XPath stuff in SDO and see if we can avoid the
>> annotations for the new assembly model schema. It may not be simple
>> so we
>> may have to annotate the schema to start with and fix this later.
>>
>> Cheers,
>>
>
> OK, let me know. If it turns out that we need the annotations to start
> with as a workaround to this issue with dots, then no problem I'll add
> them. Thanks.
>
Interesting how sometimes expected design issues turn into non-issues
once you actually write code :) I tried to use the XSDs without
annotations, and... everything works!
This is because the ModelLoader works with the base XSD complex types
and substitution groups, which contain no dots in their names. We never
do DataObject.get("interface.cpp") for example, we only do
DataObject.get("interface")... So there was no problem after all :) we
don't need any annotations in the SCDL XSDs.
--
Jean-Sebastien
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Pete