logo       

Re: JAX-B class generation of complexTypes: msg#00003

Subject: Re: JAX-B class generation of complexTypes
Great Brandon, thanks for the update.  I'll post on the JAXB list too,
though I think I may have found a work around.  Someone on the xml-dev
list off had some good advice.

Jim

On Monday, February 16, 2004, at 03:37 PM, Brandon Franklin wrote:

Oh, oops.  Sorry, I forgot they moved it to the java.net site.  It's
actually a pretty highly-populated list.  I used to be on it myself,
and my
brother still is...So I know for a fact there's not 0.  :)  Here's the
NEW
address, and I apologize for giving you the old one:

https://jaxb.dev.java.net/servlets/ProjectMailingListList

Scroll to the bottom of the page, and you'll see that the "users" list
is
the "continuation of the old jaxb-interest list".

Good luck,
-Brandon

----- Original Message -----
From: "Jim Beard" <beard@xxxxxxxxxxxxxxxx>
To: <XML-INTEREST@xxxxxxxxxxxx>
Sent: Tuesday, February 17, 2004 3:29 AM
Subject: Re: JAX-B class generation of complexTypes


A nice idea, but I doubt a response would come at all.

http://archives.java.sun.com/archives/

The list at the url above states that 0 people subscribe to the
jaxb-interest list.  Indeed the last archive entry is from some time
in
2003 I believe....

Jim

On Sunday, February 15, 2004, at 09:17 PM, Brandon Franklin wrote:

Hi.  I don't know the answer to your question, but you might try
posting it
to the JAXB interest list, at jaxb-interest@xxxxxxxxxxxx   I'm sure
you'll
get a much faster response.

Thanks,
-Brandon Franklin

----- Original Message -----
From: "Jim Beard" <beard@xxxxxxxxxxxxxxxx>
To: <XML-INTEREST@xxxxxxxxxxxx>
Sent: Sunday, February 15, 2004 10:33 AM
Subject: JAX-B class generation of complexTypes


Howdy all,

        I work with a company that is trying to use JAX-B generated
code
in a
number of projects.  The most recent one involves a rather complex
set
of Schemas.  In these Schemas there are complexTypes defined using
extension from other complexTypes.  Some of these complexTypes are
based off of other complexTypes using restriction.  XmlSpy validates
everything, as does a recent SAX parser.  However xjc spits out
errors
when I try to use JAX-B to generate code from the Schemas, and no
code
is generated.  The errors look like this:

[ERROR]  Base complex type is derived by restriction, while this
complex type is derived by extension

        This problem occurs 5 or so times throughout the Schema.  We
have
a
little bit of control over the Schema we are using ( though another
company is mainly responsible for it ).  However we have no control
over the base Schemas that this Schema uses in its namespace.
        I tried running with '-extension' and adding in the
complexTypeSubstitution attributes, but still no luck.  Does anyone
have any experience with this problem or any advice to offer?

Jim Beard
counterclaim.com, Inc
http://www.counterclaim.com
http://openefm.sourceforge.net
(800) 264-8145

-----------------------------------------------------
xml-interest: A list for discussing XML technologies in the Java
Platform.
To post, mailto:xml-interest@xxxxxxxxxxxx
Archives at: http://archives.java.sun.com/xml-interest.html
To unsubscribe, mailto:listserv@xxxxxxxxxxxx the following message;
signoff xml-interest.



Jim Beard
counterclaim.com, Inc
http://www.counterclaim.com
http://openefm.sourceforge.net
(800) 264-8145

-----------------------------------------------------
xml-interest: A list for discussing XML technologies in the Java
Platform.
To post, mailto:xml-interest@xxxxxxxxxxxx
Archives at: http://archives.java.sun.com/xml-interest.html
To unsubscribe, mailto:listserv@xxxxxxxxxxxx the following message;
signoff xml-interest.


-----------------------------------------------------
xml-interest: A list for discussing XML technologies in the Java
Platform.
To post, mailto:xml-interest@xxxxxxxxxxxx
Archives at: http://archives.java.sun.com/xml-interest.html
To unsubscribe, mailto:listserv@xxxxxxxxxxxx the following message;
signoff xml-interest.


Jim Beard
counterclaim.com, Inc
http://www.counterclaim.com
http://openefm.sourceforge.net
(800) 264-8145

-----------------------------------------------------
xml-interest: A list for discussing XML technologies in the Java Platform.
To post, mailto:xml-interest@xxxxxxxxxxxx
Archives at: http://archives.java.sun.com/xml-interest.html
To unsubscribe, mailto:listserv@xxxxxxxxxxxx the following message;
signoff xml-interest.



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe