[ODE] Re: XODE Extentions

William Denniss will at tanksoftware.com
Sun Aug 14 13:12:30 MST 2005


Hi Georg,

On 14/08/2005, at 3:48 AM, Georg Martius wrote:

> Hi Will,
> Am Samstag, 13. August 2005 02:39 schrieb William Denniss:
>
>> On 13/08/2005, at 2:51 AM, Georg Martius wrote:
>>
>>> Hi,
>>>
>>> I have a question and a suggestion to the <ext> field. Currently  
>>> it is
>>> specified as either a location of a color, where the location has
>>> no type at
>>> all, i.e. ANY content. Is this intended?.
>>>
>>
>> Where did you get that impression?  (I ask so I can make it clearer).
>>
> The schema says in the current version:
>
>  <xs:element name="ext">
> <!-- should just be CDATA -->
>     <xs:complexType>
>         <xs:choice>
>             <xs:element name="location"/>
>             <xs:element name="colour">
>                 <xs:complexType>
>                     <xs:attribute name="r"/>
>                     <xs:attribute name="g"/>
>                     <xs:attribute name="b"/>
>                 </xs:complexType>
>             </xs:element>
>         </xs:choice>
>         <xs:attribute name="ename"/>
>     </xs:complexType>
> </xs:element>
>
> I may be wrong, but I think that means the content of <ext> is either
> <location> or <color> right? I would rather prefer the comment to  
> be true :-)

This is a bug in the XML Schema, thank you for noticing it.

Shaul Kedem is our XML Schema expert, hopefully he can make the  
necessary changes.

The element "ext" has one compulsory attribute "ename", and apart  
from that just contains CDATA.

Cheers,

Will.



More information about the ODE mailing list