Justin Deoliveira wrote:
ListOfStringType has a "member" Descriptor with multiplicity 0:*, the descriptor is of StringElementType. where StringElementType is bound to the Java class String and is marked as "inline".
But isn't the problem that this is a simple type. Not sure what you are trying to say here with inline. Are you saying you can essentially make it a simple type by creating a complex type with inline content?
We have two options:
- define everything with the type system
- define an attribute bound to a list

Both of these work - to choose between them we need some guidance on how this is modeled in UML.

With respect to the use of "inline" above - it is used to communicate how an XPath query would see the data.
- list/member/[1] would be bad
- list[1] would be good

Encoding and Decoding into XML is a different problem, and one that can be solved with client property hints if we have to.

Justin can you tell me how the simple list type works with respect to XPath? Is it completely opaque?



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to