users@jaxb.java.net

RE: Re: Empty model groups - how to customize?

From: Perry, Steve <Steve.Perry_at_fnf.com>
Date: Fri, 3 Dec 2004 16:27:38 -0600

No problem, Ed. I know how busy you guys are. At least I know
customizing the default binding for an empty sequence can't be done.
Thanks for looking into it.

--steve

> -----Original Message-----
> From: Ed Mooney [mailto:Ed.Mooney_at_Sun.COM]
> Sent: Wednesday, December 01, 2004 3:08 PM
> To: users_at_jaxb.dev.java.net
> Subject: Re: Empty model groups - how to customize?
>
> Hi Steve,
>
> Your inquiry in another thread[1] reminded me that I never followed up
> in this one. Please accept my apologies.
>
> The upshot is that the error message is misleading and that there is
no
> way to customize an empty sequence. Sorry you had to wait so long only
> to hear bad news.
>
> -- Ed
>
> https://jaxb.dev.java.net/servlets/ReadMsg?list=users&msgNo=3745
>
> Perry, Steve wrote:
> > Ed: I did see those examples, but they weren't helpful for my
question.
> >
> > Picture a sequence that looks like:
> >
> > <xs:sequence maxOccurs="unbounded"/>
> >
> > as a constituent member of a complexType definition.
> >
> > I'm thinking I need some kind of global binding, but which one?
> > bindingStyle?
> >
> > Here is a larger fragment of the schema I'm using:
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <xsd:schema elementFormDefault="qualified"
> > attributeFormDefault="unqualified"
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> > xmlns:com.fnf="http://www.fnf.com/xes">
> > <xsd:include schemaLocation="IFX150_base.xsd"/>
> > <xsd:complexType name="BaseSvcRq_Type">
> > <xsd:sequence>
> > <xsd:element ref="RqUID"/>
> > <xsd:element ref="AsyncRqUID" minOccurs="0"/>
> > <xsd:element ref="SPName" minOccurs="0"/>
> > <!--HERE IT IS--> <xsd:sequence maxOccurs="unbounded"/>
> > </xsd:sequence>
> > <xsd:attribute name="Id" type="xsd:ID"/>
> > </xsd:complexType>
> > <xsd:complexType name="BaseSvcRs_Type">
> > <xsd:sequence>
> > <xsd:element ref="Status" minOccurs="0"/>
> > <xsd:element ref="RqUID"/>
> > <xsd:element ref="AsyncRqUID" minOccurs="0"/>
> > <xsd:element ref="SPName" minOccurs="0"/>
> > <xsd:sequence maxOccurs="unbounded"/>
> > </xsd:sequence>
> > <xsd:attribute name="Id" type="xsd:ID"/>
> > </xsd:complexType>
> >
> > ... more ...
> >
> > Thanks for any help!
> >
> > --steve
> [ ... ]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net