users@jaxb.java.net

Re: Empty model groups - how to customize?

From: Ed Mooney <Ed.Mooney_at_Sun.COM>
Date: Wed, 01 Dec 2004 16:07:30 -0500

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