SDO - XML Schema element with default attribute behaves as if nillable=true

2007-03-06 Thread Ron Gavlin
Greetings, I am using the M2 SDO release. Assume I have registered a schema that includes the following snippet: ... xs:element name=item maxOccurs=unbounded xs:complexType xs:sequence xs:element name=title type=xs:string/ xs:element name=note type=xs:string minOccurs=0/ xs:element

Re: SDO - XML Schema element with default attribute behaves as if nillable=true

2007-03-06 Thread Frank Budinsky
Hi Ron, The serialization behavior is based on isSet() behavior, so you should be concerned abou it :-) A property is serialized only if isSet() is true. The SDO 2.1 design is that isSet() returns true if the property has been set (period). Unlike EMF, it has nothing to do with the default

Re: SDO - XML Schema element with default attribute behaves as if nillable=true

2007-03-06 Thread Ron Gavlin
Hi Frank, Thanks for clearing this issue up for me. I appreciate it. Now that Tuscany has implemented this new SDO 2.1 design, it seems pretty important to support Property.isNullable(). Is there a JIRA # for this issue? Is it planned for M3? For us, the SDO 2.1 behavior may prove problematic

DAS User's guide

2007-03-06 Thread Kevin Williams
I modified the DAS overview page to include a link to the RDB DAS User's Guide since, with the move to cwiki, there was no path to this documentation. http://cwiki.apache.org/TUSCANY/das-overview.html BTW, the cwiki stuff is pretty cool. -- Kevin

Re: DAS User's guide

2007-03-06 Thread Jim Marino
On Mar 6, 2007, at 11:50 AM, Kevin Williams wrote: I modified the DAS overview page to include a link to the RDB DAS User's Guide since, with the move to cwiki, there was no path to this documentation. Sorry! I must have missed the link. Jim

Re: SDO - XML Schema element with default attribute behaves as if nillable=true

2007-03-06 Thread Frank Budinsky
Hi Ron, You asked me about this about a month ago, and here was my answer: SDO 2.1 has added a new method for this, Property.isNullable(). Unfortunately we haven't implemented in yet in Tuscany (it currently throws UnsupportedOperationException if you call it). The implementation plan is