[jira] Resolved: (JAXME-105) can't generate get list method with element has maxOccurs="unbounded"

2010-07-12 Thread Jochen Wiedmann (JIRA)
[ https://issues.apache.org/jira/browse/JAXME-105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jochen Wiedmann resolved JAXME-105. --- Assignee: Jochen Wiedmann Resolution: Invalid I assume, that you mean "no correspo

[jira] Resolved: (JAXME-104) wrong xsd:pattern handling

2009-06-05 Thread Jochen Wiedmann (JIRA)
[ https://issues.apache.org/jira/browse/JAXME-104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jochen Wiedmann resolved JAXME-104. --- Resolution: Fixed Fix Version/s: 0.6 Assignee: Jochen Wiedmann Applied, thank

[jira] Resolved: (JAXME-102) No support for types of the same name in different namepaces

2009-04-09 Thread Jochen Wiedmann (JIRA)
[ https://issues.apache.org/jira/browse/JAXME-102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jochen Wiedmann resolved JAXME-102. --- Resolution: Won't Fix Using jaxb:property is the way to resolve such conflicts tha

[jira] Commented: (JAXME-102) No support for types of the same name in different namepaces

2009-04-09 Thread Jochen Wiedmann (JIRA)
[ https://issues.apache.org/jira/browse/JAXME-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12697487#action_12697487 ] Jochen Wiedmann commented on JAXME-102: --- Did you use the jaxb:property customiza

Re: About built jaxme jars

2008-10-13 Thread Jochen Wiedmann
On Mon, Oct 13, 2008 at 9:17 PM, Serkan Kaba <[EMAIL PROTECTED]> wrote: > 1) What's the difference between jaxme2-rt-{version}.jar and > jaxme2-{version}.jar. The former is used at runtime. The latter is basically the same, but adds the parts which are used for generating sources. > 2) Which ja

[jira] Resolved: (JAXME-99) Generate 'Serializable' implementation classes

2008-09-12 Thread Jochen Wiedmann (JIRA)
[ https://issues.apache.org/jira/browse/JAXME-99?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jochen Wiedmann resolved JAXME-99. -- Resolution: Invalid Assignee: Jochen Wiedmann Use xjc:serializable. See http

[jira] Resolved: (JAXME-100) Can't have attribute and element with the same name

2008-09-12 Thread Jochen Wiedmann (JIRA)
[ https://issues.apache.org/jira/browse/JAXME-100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jochen Wiedmann resolved JAXME-100. --- Resolution: Invalid Assignee: Jochen Wiedmann Use on either element or attribute. See

Re: Version of JAXB implemented

2008-08-22 Thread Jochen Wiedmann
On Fri, Aug 22, 2008 at 10:45 AM, Carlos Rodríguez Fernández <[EMAIL PROTECTED]> wrote: > As you know, there is a "issue" about Java 6 with JAXB 2.1 embeded, and > application compiled in Java 5 that also uses JAXB 2.0 (doesn't run). No, I don't know. I am aware of problems when building JaxMe wi

Re: Question...

2008-08-20 Thread Jochen Wiedmann
On Wed, Aug 20, 2008 at 4:57 PM, Jason Kastner <[EMAIL PROTECTED]> wrote: > is the b0_5 branch where all the latest changes reside? Curious what the > JAXME-28 branch represents? The latest version is the trunk. The JAXME-28 branch was used in the past for developments related to http://iss

Re: Chinese characters in source object is emitted as ? Characters in XML

2008-06-19 Thread Jochen Wiedmann
2008/6/19 Peter Maher (POZ Ltd) <[EMAIL PROTECTED]>: > Is there a problem with JaxMe and Chinese characters? The answer is almost certainly "No". It is much more likely, that there is an error in your handling., > I am setting my source object property (which is a String) to the following > "Do

[jira] Resolved: (JAXME-95) JavaParser.parseObject() handles inner interfaces incorrectly

2008-03-13 Thread Jochen Wiedmann (JIRA)
[ https://issues.apache.org/jira/browse/JAXME-95?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jochen Wiedmann resolved JAXME-95. -- Resolution: Fixed Applied, thank you! > JavaParser.parseObject() handles inner interfa

[jira] Updated: (JAXME-95) JavaParser.parseObject() handles inner interfaces incorrectly

2008-03-13 Thread Jochen Wiedmann (JIRA)
[ https://issues.apache.org/jira/browse/JAXME-95?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jochen Wiedmann updated JAXME-95: - Assignee: Jochen Wiedmann Remaining Estimate: 0h Original Estimate: 0h

Re: JM_EVENT_UNEXPECTED_CHILD_ELEMENT: Unexpected element

2008-01-18 Thread Jochen Wiedmann
>xsi:type="exp:USAddress"> xsi:type is not supported. Therefore, your XML fragment is treated as an instance of exp:Address, where the "state" element is indeed invalid. Jochen -- Look, that's why there's rules, understand? So that you think before you break 'em. -- (T

Re: Problem marshalling/unmarshalling UTF-8 document containing a pound symbol

2007-12-18 Thread Jochen Wiedmann
On Dec 18, 2007 4:42 PM, K Grindley <[EMAIL PROTECTED]> wrote: > symbol. The document is > marshalled using UTF-8 encoding and I would have expected the '£' to have > been rendered as > a valid Xml artifact (escaped). However, editing the source document > confirms that the '£' is written > litera

Re: Problems parsing Configurqation.xml

2007-09-19 Thread Jochen Wiedmann
Hi, first of all, please subscribe to the mailing list. I had to approve your mail, because you aren't subscribed and it is likely, that I miss some mails in the flood of spam mails. Second: Did you post the complete stack trace? It doesn't look so, and I believe that the most interesting parts s

[jira] Commented: (JAXME-94) startElement method larger than 64KB when using a large amount of complexType's

2007-08-30 Thread Jochen Wiedmann (JIRA)
[ https://issues.apache.org/jira/browse/JAXME-94?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12524019 ] Jochen Wiedmann commented on JAXME-94: -- Had some time yesterday to inspect it. My first impressions: - This

[jira] Assigned: (JAXME-94) startElement method larger than 64KB when using a large amount of complexType's

2007-08-30 Thread Jochen Wiedmann (JIRA)
[ https://issues.apache.org/jira/browse/JAXME-94?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jochen Wiedmann reassigned JAXME-94: Assignee: Jochen Wiedmann > startElement method larger than 64KB when using a large amo

Re: maxOccurs

2007-08-28 Thread Jochen Wiedmann
On 8/28/07, Denis Bessmertnyj <[EMAIL PROTECTED]> wrote: > I have > > > > > . > > And receive > > org.apache.maven.lifecycle.LifecycleExecutionException: Model groups with > maxOccurs > 1 are not yet supported. You asked for maxOccurs in general. As the error message indicates, max

Re: maxOccurs

2007-08-28 Thread Jochen Wiedmann
On 8/28/07, Denis Bessmertnyj <[EMAIL PROTECTED]> wrote: > And why JaxMe doesn't want to work with maxOccurs="unbounded"? Look into the "examples" folder. It contains schemata with maxOccurs="unbounded", that work very well. -- "Besides, manipulating elections is under penalty of law, resulting

Re: trouble with generating sources

2007-08-02 Thread Jochen Wiedmann
Could you please post the output of "mvn -X jaxme:jaxme"? Thanks! -- "Besides, manipulating elections is under penalty of law, resulting in a preventative effect against manipulating elections. The german government justifying the use of electronic voting machines and obviously believing that

Re: Refactor startElement and get paid

2007-07-31 Thread Jochen Wiedmann
On 7/31/07, Jose Luis Huertas Fernández <[EMAIL PROTECTED]> wrote: > My first (and simple) approach is already working with the code packaged > with 0.5.2 version. Now I'm trying to apply it to the current code in SVN > (BTW, the developer's doc still points out to CVS) but I'm having some > probl

Re: NullPointerException when creating Javacode from .wsdl

2007-07-16 Thread Jochen Wiedmann
On 7/16/07, Naecker, Thomas <[EMAIL PROTECTED]> wrote: im trying to test jaxme for the codegeneration of my .wsdl. When i call the wsdl2java tool i get a NullPointerException at the end. The call was wsdl2Java -d jaxme -ssi -uri MyService.wsdl. Is this a known Problem, or have i use jaxme in a d

Re: Using Hashtable instead of ArrayList

2007-07-15 Thread Jochen Wiedmann
On 7/16/07, Steffen Pankratz <[EMAIL PROTECTED]> wrote: The class "BooksImpl" gives me an ArrayList of all the "BookImpl" objects, which have a method getName(). But I would like to get an Hashtable where the name of a book is the key and the book object itself would be the value. Is this pos

Re: Problem with primitive types and optional elements

2007-07-10 Thread Jochen Wiedmann
On 7/10/07, Jose Luis Huertas Fernández <[EMAIL PROTECTED]> wrote: any idea? is it possible to setup jaxme to use Double (object) type instead of double (primitive)? Yes, that's possible. See for example this mail: http://www.mail-archive.com/jaxme-dev@ws.apache.org/msg01553.html Jochen

Re: Update from board regarding our oversight of WS project.

2007-07-03 Thread Jochen Wiedmann
On 7/3/07, Davanum Srinivas <[EMAIL PROTECTED]> wrote: No need to step down at all as PMC member. Let's gather consensus on archiving the 2 projects. It can always be revived by a quick vote on [EMAIL PROTECTED] if/when a couple of more folks get interested. Sounds good? I think, before actua

Re: Update from board regarding our oversight of WS project.

2007-07-03 Thread Jochen Wiedmann
Dims, I assume that you are thinking of me, when it comes to JaxMe and XML-RPC. Unfortunately I am getting more and more away from any work on these projects. JaxMe can be considered dormant, if not dead, and XML-RPC is close to it. As a consequence, I tend to ignore WS PMC stuff within the 200

Re: [jaxmexs-0.5.2] No check for invalid xs:include

2007-06-13 Thread Jochen Wiedmann
On 6/13/07, Brian Uri <[EMAIL PROTECTED]> wrote: I believe that xs:include can only be used on another schema file when the target namespace is the same in both files. So, JAXME should probably throw an exception when a case like this is encountered. Please file a bug report. Thanks, Jochen

Re: problems with jaxme and axis2

2007-05-31 Thread Jochen Wiedmann
Hi, Karl-Heinz, first of all, please be so kind to subscribe to the jaxme-dev mailing list, before posting. Otherwise, I have to approve any mail from you manually, which takes time. Apart from that, you risk that I decide wrong, because your mail is just one within a bunch of spam mails, which I

Re: JaxMe ObjectFactory and JDK 1.6.0

2007-05-16 Thread Jochen Wiedmann
Hi, Thomas, On 5/16/07, Thomas Vandahl <[EMAIL PROTECTED]> wrote: I'm using JaxMe 0.5.2 for different XML schemas im my applications running under Java 1.4.2. When switching to JDK 1.6.0, I get ClassCastExceptions in the constructor of ObjectFactory, probably because the JAXBContext returned fr

[jira] Resolved: (JAXME-92) JavaSource has at least two NPE sources

2007-05-14 Thread Jochen Wiedmann (JIRA)
[ https://issues.apache.org/jira/browse/JAXME-92?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jochen Wiedmann resolved JAXME-92. -- Resolution: Won't Fix This is obviously a matter of programming style and taste. The J

Re: java.util.Properties and byte[] as attribute values

2007-04-18 Thread Jochen Wiedmann
On 4/17/07, Robert Eric Reeves <[EMAIL PROTECTED]> wrote: Would something like this work? I think it should. I am unsure with the byte array, because it overwrites a builtin type, but I would expect that it should work even in that case. Jochen -- My cats know th

Re: The code of method startElement(String, String, String, Attributes) is exceeding the 65535 bytes limit

2007-04-18 Thread Jochen Wiedmann
Hi, Robert, first of all, please be so kind to subscribe to the mailing list. Otherwise, you'll have to wait for my manual approval of any mail and it's quite likely that I miss something due to some twenty or so spam mails a day. On 4/17/07, Robert Eric Reeves <[EMAIL PROTECTED]> wrote: Bumme

Re: Problem using jaxme:implements in binding file

2007-04-13 Thread Jochen Wiedmann
On 4/13/07, Rajarshi Ghosh <[EMAIL PROTECTED]> wrote: Thanks for the information. But unfortunately this is not working. When I added the lines in my xsd and ran the build file it complained about Invalid attribute as below: I don't know what's wrong with your sample, but xjc:serializable

Re: Problem using jaxme:implements in binding file

2007-04-12 Thread Jochen Wiedmann
On 4/12/07, Rajarshi Ghosh <[EMAIL PROTECTED]> wrote: My requirement is all (ok, almost all) my generated Java interfaces should extend java.io.Serializable interface. See http://www.opensubscriber.com/message/[EMAIL PROTECTED]/226059.html -- My cats know that I am a loser who goes out for h

Re: XML inside another XML

2007-03-28 Thread Jochen Wiedmann
On 3/28/07, Jose Luis Huertas Fernández <[EMAIL PROTECTED]> wrote: What I need to do now is send an XML to another system (the XML is defined by a XSD), but the content of one of the elements is an XML too. I was trying to use a CDATA section because the "inner" XML does't have to be interpreted

Re: parsing a Java Source File

2007-03-14 Thread Jochen Wiedmann
Hi, first of all, please be so kind to subscribe to the mailing list. If you aren't subscribed, then I have to approve all mails manually. On 3/14/07, Nyttle Veliath <[EMAIL PROTECTED]> wrote: JavaSource.getImports(). length() returns 0 eventhough the source file has got 5 import statements.

Re: IDREFS is no list type

2007-02-28 Thread Jochen Wiedmann
On 3/1/07, Kenny Sabir <[EMAIL PROTECTED]> wrote: I would get an error saying: The global type { http://www.w3.org/2001/XMLSchema}IDREFS is no list type. I've fixed this error in svn. Unfortunately, you'll still be unable to use JaxMe, because your schema uses the xs:anyType, which is still u

Re: qName is missing in Configuration.xml

2007-01-27 Thread Jochen Wiedmann
Hi, On 1/27/07, Jeyaraj <[EMAIL PROTECTED]> wrote: I got the Error as "Manager for Address is not declared.". two possible reasons: 1.) You are using a target namespace if you should not, the wrong target namespace, or you aren't using a target namespace. Depends on the schema and the in

Re: Wants to Contribute for jaxme

2007-01-24 Thread Jochen Wiedmann
On 1/24/07, Ravi de Alwis <[EMAIL PROTECTED]> wrote: I would like to contribute to jaxme project. I already have some experience in contributing to apache projects such as Axis. Can some one help by giving few hints to start the thing. First of all, please subscribe to the developers mailing l

Re: ws-jaxme 0.5.2: NullPointer on minExclusive

2007-01-20 Thread Jochen Wiedmann
On 1/21/07, Uri, Brian <[EMAIL PROTECTED]> wrote: If a schema uses a minExclusive restriction, a NullPointerException occurs in the parser. minInclusive, maxInclusive, and maxExclusive all work fine. Fixed in trunk and 0.5 branch. One more bug report for the day :) Got another one? :-)

Re: ws-jaxme 0.5.2: blockDefault issues

2007-01-20 Thread Jochen Wiedmann
On 1/20/07, Uri, Brian <[EMAIL PROTECTED]> wrote: Yes, this looks correct. Applied to trunk and 0.,5 branch. Thank you! -- How fast can a year go? As fast as your childs first year. - To unsubscribe, e-mail: [EMAIL PROTECTE

Re: Customised method name

2007-01-20 Thread Jochen Wiedmann
On 1/20/07, Hilco Wijbenga <[EMAIL PROTECTED]> wrote: Still ... should this have "worked" (i.e. not thrown an exception)? The "schemaBindings" and "bindings" elements must be removed. Jochen -- How fast can a year go? As fast as your childs first year. --

Re: ws-jaxme 0.5.2: blockDefault issues

2007-01-20 Thread Jochen Wiedmann
On 1/20/07, Uri, Brian <[EMAIL PROTECTED]> wrote: 1) JAXME provides a default value of "#all" while the XMLSchema.xsd says the default should be "". ... 2) JAXME's BlockSet algorithm is setting opposite values. I can't reproduce your examples, but I believe that I can follow your words f

Re: Restrictions

2007-01-20 Thread Jochen Wiedmann
On 1/20/07, Hilco Wijbenga <[EMAIL PROTECTED]> wrote: The resulting code seems to ignore the restriction (i.e. I can set a value of 1 without any complaint). Looking at the code that's not too surprising: I see nothing resembling a check for at least 2. Restrictions are not listed on the "Missi

Re: Customised method name

2007-01-20 Thread Jochen Wiedmann
On 1/20/07, Hilco Wijbenga <[EMAIL PROTECTED]> wrote: I was hoping the following would generate "hasSomething" as a method name instead of "isSomething". I get an error that xjb:bindings is an unknown child element of xjb:schemaBindings. Sorry, but it doesn't. You can configure the *property*

Re: [JaxMe-0.5.2] JM_EVENT_UNEXPECTED_CHILD_ELEMENT

2007-01-19 Thread Jochen Wiedmann
On 1/19/07, Hilco Wijbenga <[EMAIL PROTECTED]> wrote: Yes, that works. Thanks! It should be "qualified", though, not "true"? (Eclipse to the rescue!) :-) "True". :-) I'm afraid that, even though everything works now, I still don't quite understand what the problem was. Where can I read up o

Re: [JaxMe-0.5.2] JM_EVENT_UNEXPECTED_CHILD_ELEMENT

2007-01-19 Thread Jochen Wiedmann
On 1/19/07, Hilco Wijbenga <[EMAIL PROTECTED]> wrote: http://www.w3.org/2001/XMLSchema"; xmlns:abc="http://abc.org"; targetNamespace="http://abc.org"; You do not have elementFormDefault="true" That means, that local elements (like "sub" in your case) have the default name

[VOTE] Release jaxme-jaxb-2.1-api-0.6.jar

2007-01-10 Thread Jochen Wiedmann
Hi, in order to have it available for other projects like Axis 2, I'd like to release the following files to the Maven 2 repository: jaxme-parent-0.6.pom (Maven 2 POM file of the JaxMe parent) jaxme-jaxb-2.1-api-0.6.jar jaxme-jaxb-2.1-api-0.6.pom jaxme-jaxb-2.1-api-0.6-ja

[jira] Resolved: (JAXME-89) Multiple "implements" clauses are not supported

2006-12-04 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/JAXME-89?page=all ] Jochen Wiedmann resolved JAXME-89. -- Fix Version/s: 0.6 Resolution: Fixed Assignee: Jochen Wiedmann Applied to 0.5 branch and trunk. > Multiple "implements" cl

[jira] Commented: (JAXME-89) Multiple "implements" clauses are not supported

2006-12-04 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/JAXME-89?page=comments#action_12455301 ] Jochen Wiedmann commented on JAXME-89: -- I haven't yet worked out why, but the AntLRTest fails after applying your patch: The class name must not be nu

[jira] Resolved: (JAXME-87) Convert build to Maven 2

2006-11-24 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/JAXME-87?page=all ] Jochen Wiedmann resolved JAXME-87. -- Resolution: Fixed Applied, with modifications, to the MAVEN branch. Plan is to move the branch to the trunk ASAP. > Convert build to Mave

Re: JAXB object compare code/tool/util?

2006-11-15 Thread Jochen Wiedmann
On 11/15/06, Robert Eric Reeves <[EMAIL PROTECTED]> wrote: Before I start writing my own, I wanted to see if anyone had a bit of code or a tool that would take two JAXB objects and compare them. I'm having a problem comparing XML documents and was hoping to simply use JaxMe to do it for me. Ro

Re: JaxME WS Error: Element is blocked for substitution.

2006-11-13 Thread Jochen Wiedmann
On 11/13/06, Brian Uri! <[EMAIL PROTECTED]> wrote: I have a schema which validates correctly. When I attempt to parse it with ws-jaxme-0.5.2, I receive a LocSAXException because the parser believes that an element is blocked for substitution. I am sorry, but I am unable to reproduce y

Re: JaxbException: A Manager for {http://zz.com/integration/order/response}order is not declared.

2006-11-13 Thread Jochen Wiedmann
On 11/13/06, Rafael Naufal <[EMAIL PROTECTED]> wrote: what's the difference between global and local objects in JaxMe? Local means that it uses a namespace? -- My wife Mary and I have been married for forty-seven years and not once have we had an

Re: JaxbException: A Manager for {http://zz.com/integration/order/response}order is not declared.

2006-11-13 Thread Jochen Wiedmann
On 11/13/06, Rafael Naufal <[EMAIL PROTECTED]> wrote: I'm trying to create a XML from some Java classes (the marshall process). When I execute the method marshaller.marshal(Object, writer); I get the following message from a JaxbException: A Manager for { http://zz.com/integration/order/respons

Re: JaxMe and Primitives

2006-11-10 Thread Jochen Wiedmann
On 11/9/06, Robert Eric Reeves <[EMAIL PROTECTED]> wrote: Previously, I was using JAXB 1.04 and had a hack in place to see if fields were set on the JAXB Types. For example, say I have an element with attribute "foo" set to boolean type like so: My personal favourite is to have the pri

Re: Version 2 of the maven-jaxme-plugin

2006-11-03 Thread Jochen Wiedmann
On 11/3/06, Kenney Westerhof <[EMAIL PROTECTED]> wrote: (Too bad it's not as advanced as the Sun implementation: no Java 5 annotations (maybe jaxme is just an implementation for jaxb 1? Exactly. That's what makes most of the differences you've noted. Nevertheless, there's a future here ;)

Version 2 of the maven-jaxme-plugin

2006-11-02 Thread Jochen Wiedmann
Hi, I'd like to ask the users of the maven-jaxme-plugin for feedback on the proposed version 2. The updated version is available from the Maven snapshot repository on people.apache.org: http://people.apache.org/repo/m2-snapshot-repository/org/apache/ws/jaxme This version is slightly incompat

[jira] Resolved: (JAXME-77) Java parser chokes on import packagename.*

2006-11-02 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/JAXME-77?page=all ] Jochen Wiedmann resolved JAXME-77. -- Fix Version/s: 0.6 Resolution: Fixed Assignee: Jochen Wiedmann Applied to 0.5 and 0.6 branch. > Java parser chokes on import packagen

Re: JDK 1.3 and CharsetXMLWriter

2006-11-01 Thread Jochen Wiedmann
On 11/1/06, Vincent Reviol <[EMAIL PROTECTED]> wrote: NoClassDefFoundError is thrown on line 35 of CharsetXMLWriter (init method). But the following works: Applied, thank you! -- My wife Mary and I have been married for forty-seven years and not once have we had an argument serious enough to

Re: JDK 1.3 and CharsetXMLWriter

2006-11-01 Thread Jochen Wiedmann
On 11/1/06, Vincent Reviol <[EMAIL PROTECTED]> wrote: static { Class c; try { Class.forName("java.nio.charset.Charset"); c = CharSetXMLWriter.class; } catch (Exception e) { c = XMLWriterImpl.class; } xmlWriterClassDefault = c; } I understand the is

Re: How can I display the missing fields of a xml?

2006-10-29 Thread Jochen Wiedmann
On 10/30/06, Rafael Naufal <[EMAIL PROTECTED]> wrote: Yeap, but the methods getObject(), getNode() of the ValidationEventLocator object always return null when I supply a ValidationEventHandler implementation or, in some cases, an IllegalArgumentException is thrown. That is, the methods getObjec

[jira] Commented: (JAXME-86) NPE in maven-jaxme-plugin

2006-10-29 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/JAXME-86?page=comments#action_12445462 ] Jochen Wiedmann commented on JAXME-86: -- The problem is here; IMO, the JAXB specification states that the "name" attribute must be a fully

[jira] Commented: (JAXME-87) Convert build to Maven 2

2006-10-28 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/JAXME-87?page=comments#action_12445411 ] Jochen Wiedmann commented on JAXME-87: -- Kenney, would it be possible to modify your patch in a more intrusive manner? Drop support for Maven 1, change the

[jira] Commented: (JAXME-86) NPE in maven-jaxme-plugin

2006-10-28 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/JAXME-86?page=comments#action_12445410 ] Jochen Wiedmann commented on JAXME-86: -- No problem with the large XSD. The debug setting is maven's -X switch, btw. First of all, I can reproduce the pr

Announce: JaxMe 0.5.2

2006-10-27 Thread Jochen Wiedmann
Hi, the Apache JaxMe team is glad to announce the availabiliy of JaxMe 0.5.2. This is a bug fix release, dedicated in particular to support for large scale schema topics like schema composition. JaxMe 0.5.2 is available from any Apache Mirror, see http://www.apache.org/dyn/closer.cgi/ws/jaxm

Re: How can I display the missing fields of a xml?

2006-10-27 Thread Jochen Wiedmann
On 10/27/06, Rafael Naufal <[EMAIL PROTECTED]> wrote: Not the xml above doesn't have the tag. How can I show the user a message like "The tag is required"? I have to do that by implementing the ValidationEventHandler interface and using the ValidationEventLocator object? Yes. Note, that the

Re: [About JaxMe validation]

2006-10-27 Thread Jochen Wiedmann
On 10/27/06, Rafael Naufal <[EMAIL PROTECTED]> wrote: can I use an error handler to display the missing fields in a XML with JaxMe or not? Does JaxMe do it by itself or it requires a custom error handler implementation? Basically, the answer is yes. A custom error handler should be able to det

Re: Handling wildcards in JaxMe

2006-10-27 Thread Jochen Wiedmann
On 10/27/06, baisa, darwin <[EMAIL PROTECTED]> wrote: Somefile.xsd, line 22, column 43: Wildcards are unsupported Does this mean that the JaxMe does not support Wildcards? This is exactly what the error message says, isn't it? Sorry, Jochen -- My wife Mary and I have been married for fo

RESULT: Release JaxMe 0.5.2

2006-10-27 Thread Jochen Wiedmann
Hi, all votes have been +1: Ias, Nacho, Dims, Robert Eric Reeves (Non-binding) and myself. Dims, Ias and myself are the required 3 PMC members. I'll put the files on the servers today and send the announcement tomorrow. Thanks, Jochen -- My wife Mary and I have been married for forty-seven y

Re: Current Release?

2006-10-26 Thread Jochen Wiedmann
On 10/26/06, Robert Eric Reeves <[EMAIL PROTECTED]> wrote: What is the current release of JaxMe? I see that 0.5.1 is listed on the site, but I remember +1'ing a .6 release. Has that happened yet? Due to the outage of people.apache.org in the last days I wasn't able to publish 0.5.2 yet. Curren

VOTE: Release JaxMe 0.5.2

2006-10-19 Thread Jochen Wiedmann
Hi, in the last months I have fixed a real lot of bugs in JaxMe, both in the 0.5 branch and in the 0.6 branch. These bugs are mostly related to schema composition. As Axis2 1.1 is currently on the horizon, I would like to see this release shipped with the latext JaxMe version. Consequently it se

Re: Is It a BUG

2006-10-17 Thread Jochen Wiedmann
On 10/17/06, David Holroyd <[EMAIL PROTECTED]> wrote: My guess is that you need to define those types. Defining the namespace is not enough. Try to the SOAP Encoding schema into yours (I hope that jaxmexs supports that). It does. It is even possible to preload those types by calling XSParse

Re: little inconsitancy in the maven2 jaxme plugin documentation

2006-10-11 Thread Jochen Wiedmann
On 10/9/06, Cees van Wieringen <[EMAIL PROTECTED]> wrote: I use you're jaxme plugin for maven2 and tried to change the output directory where the generated java files are placed. according to you'er documentation I should change the value of the 'target'-property (target/src-gen) but this had li

Re: JaxME WS Error: ComplexType believed to be simple.

2006-10-10 Thread Jochen Wiedmann
On 9/28/06, Brian Uri! <[EMAIL PROTECTED]> wrote: I have a schema which validates correctly. When I attempt to parse it with ws-jaxme-0.5.1, I receive an IllegalStateException because the parser believes that one of my complexType constructs is a simpleType. This is now fixed in the 0

[jira] Resolved: (JAXME-84) minOccurs="0" not recognized in choice, if the choice is within an extension

2006-10-06 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/JAXME-84?page=all ] Jochen Wiedmann resolved JAXME-84. -- Resolution: Fixed The problem turned out to be, in fact, in the XS layer. If an extended element has empty content, then the resulting content is actually

[jira] Created: (JAXME-84) minOccurs="0" not recognized in choice, if the choice is within an extension

2006-10-06 Thread Jochen Wiedmann (JIRA)
Issue Type: Bug Affects Versions: 0.5 Reporter: Jochen Wiedmann Assigned To: Jochen Wiedmann Using the following schema http://www.w3.org/2001/XMLSchema"; targetNamespace="http://namespaces.softwareag.com/de/s/xDWS/soap-api"; xmlns:xdws="ht

[jira] Created: (JAXME-83) Element references are referencing the global elements type interface and not the element itself

2006-10-06 Thread Jochen Wiedmann (JIRA)
Project: JaxMe Issue Type: Bug Components: JaxMe Core Affects Versions: 0.5 Reporter: Jochen Wiedmann Assigned To: Jochen Wiedmann If the following schema is parsed to the generator: http://www.w3.org/2001/XMLSchema"; xmlns=

Re: JaxME WS Error: ComplexType believed to be simple.

2006-10-05 Thread Jochen Wiedmann
On 9/28/06, Brian Uri! <[EMAIL PROTECTED]> wrote: I have a schema which validates correctly. When I attempt to parse it with ws-jaxme-0.5.1, I receive an IllegalStateException because the parser believes that one of my complexType constructs is a simpleType. I can reproduce the proble

Re: required attribute missing

2006-09-10 Thread Jochen Wiedmann
On 9/10/06, Bartko Zoltan <[EMAIL PROTECTED]> wrote: To see, what I am talking about: http://de.geocities.com/bartkozo/test1.tar.gz That link doesn't work. However, when in doubt, please file a bug report and attach your files there. Jochen -- My wife Mary and I have been married for forty-s

Re: Can NanoXML be used as the XML parser for JaxMe?

2006-08-30 Thread Jochen Wiedmann
Doug Clancey wrote: With regard to changing the SAX parser to nanoXml, am I correct that you are referring to the properties file, jaxb.properties? No, that file must be left unchanged. Your application must set the system properties before creating the JAXBContext by calling System.set

Re: Can NanoXML be used as the XML parser for JaxMe?

2006-08-22 Thread Jochen Wiedmann
Doug Clancey wrote: Does anyone know if NanoXML can be used as the XML parser for JaxMe? NanoXML is SAX 1.0 Compliant. Why do you want to use it? Basically, there is no problem. See the class org.xml.sax.helpers.ParserAdapter In other words, settin

[jira] Closed: (JAXME-81) build error "The database is already in use by another process"

2006-07-31 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/JAXME-81?page=all ] Jochen Wiedmann closed JAXME-81. Resolution: Fixed Applied, thank you! > build error "The database is already in use by another

Re: jaxme vs jaxb

2006-06-19 Thread Jochen Wiedmann
On 6/19/06, Storhaug Henning <[EMAIL PROTECTED]> wrote: If I generate code using JAXB 2.0, will jaxme be able to use it? Or must I use a generator specific to jaxme? Generator and Runtime are closely related. In other words, using the JAXB 2.0 generator binds you to the JAXB 2.0 runtime. Likew

Re: java 1.5 support

2006-06-18 Thread Jochen Wiedmann
Byn Choi wrote: > - short version > What's the status/roadmap of JaxMe JS's Java 5 (a.k.a tiger) support? None. Java 5 support is definitely required for the next JAXB version. In other words, it is quite likely that something in this area will start to emerge soon. > - long version > I noticed

Re: tiny bug in org.apache.ws.jaxme.js.AbstractJavaMethod

2006-06-14 Thread Jochen Wiedmann
On 6/14/06, Byn Choi <[EMAIL PROTECTED]> wrote: the local variable i is being incremented twice in each loop, causing the params (ArrayList) to throw ArrayIndexOutOfBound exception. Thanks, fixed in Subversion. ps. I'm not subscribed to the mailinglist so please forward any email to this add

Re: Getting started

2006-05-31 Thread Jochen Wiedmann
Tom Sugden wrote: > I've just downloaded the source distributiong of the current release > of JAXME and am having some difficulty getting started. The included > documentation (within src/documentation) seems to be written in XML, > and I'm not sure how to view it. Is there some way to generate HT

Re: Error message The type xs:anyType is not supported

2006-05-26 Thread Jochen Wiedmann
Sean Doyle (Gmail) wrote: > I've tried this in both the 0.5.1 and the 0.6 svn checkout. > > I'm new to this project - I see that on > http://ws.apache.org/jaxme/features.html that "xs:any" elements aren't > yet supported - I assume that this applies to "xs:anyType" as well? Yes. --

Re: Customizing generated code

2006-05-12 Thread Jochen Wiedmann
Ian Shafer wrote: > I'd like the generated class to have a method named 'getTeams()' and not > 'getTeam()'. Is there a way to do this? Try Note that you need to declare the prefix "jaxb:". See src/test/jaxb/nestedGroups.xsd for an example. Jochen -

Re: choice with maxOccurs>1

2006-05-12 Thread Jochen Wiedmann
On 5/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: but not... ... ... ... ... ... ... ... Exactly! ps-any one have an estimate for when this will be fixed in jaxme? Currently I doubt, I'll ever find the time. My job make

Re: choice with maxOccurs>1

2006-05-11 Thread Jochen Wiedmann
[EMAIL PROTECTED] wrote: > i the flexibility to modify my schema, but i must have one "Bar" > element, an optional "Baz" element, and one or more "Blah1" "Blah2" and > "Blah3" elements. If you fix the order of the elements "Blah1", and so on by replacing the choice with then ever

Re: Unsupported major.minor version 49.0

2006-04-07 Thread Jochen Wiedmann
Chad Boyd wrote: > I've removed the plugin from my local repository, and it still downloads > the same 1.0.1 version. Is there a way to tell maven to use the newest > version, or at least a different version in the pom file? Sorry, I'm > very new to maven. That's a question for the Maven users

Re: Unsupported major.minor version 49.0

2006-04-06 Thread Jochen Wiedmann
Chad Boyd wrote: > 'org.apache.ws.jaxme:maven-jaxme-plugin:1.0.1:jaxme': Unable to find the Version 1.0.1 was long ago. Force a plugin update (don't remember which Maven option to use) or remove the plugin from your repository. Jochen ---

Re: How to use DTD to get java classes

2006-03-15 Thread Jochen Wiedmann
On 3/15/06, Bin Chen <[EMAIL PROTECTED]> wrote: > The seriesExpression is defined in DTD as this: If so, please file a bug report at http://issues.apache.org/jira and post your DTD there. Jochen -- Whenever you find yourself on the side of the majority, it is time to pause and reflect. (Mark T

Re: How to use DTD to get java classes

2006-03-14 Thread Jochen Wiedmann
On 3/14/06, Bin Chen <[EMAIL PROTECTED]> wrote: >The referenced element > {http://www.w3.org/namespace/}seriesExpression is > undefined. This looks like an error in your schema. -- Whenever you find yourself on the side of the majority, it is time to pause and reflect. (Mark Twain)

Re: error when deriving package name from URI

2006-03-07 Thread Jochen Wiedmann
On 3/7/06, Frank Cornelis <[EMAIL PROTECTED]> wrote: > The method getPackageNameFromURI appears to be too strict. Is this a JAXB > spec requirement or a bug in JAXME? The method for deriving a package name is clearly specified in the JAXB spec. In other words: If you find a bug in our implementa

Re: Importing schemas & compiling the source code

2006-02-23 Thread Jochen Wiedmann
Hi, Christian, haven't got time to look into the first question. On 2/23/06, Christian Schroeder <[EMAIL PROTECTED]> wrote: > 2. I thought about looking myself into the code, but didn't succeed in > acquiring a compilable distribution. Those which I got as a tar archive had > missing imports whi

Re: Patch for maven 2 plugin

2006-02-17 Thread Jochen Wiedmann
Anthony Vito wrote: > I'll go look up what the expected defaults are for two directories > with other similar plugins and maybe submit a new patch. That thought > was in my head as I was changing it. > > Thanks for the warm welcome and fast response. I look forward to > submitting more in the fut

Maven JaxMe Plugin 1.0.3

2006-02-17 Thread Jochen Wiedmann
Hi, I'd like to announce the release of the Maven JaxMe plugin, version 1.0.3. Special thanks to Anthony Vito, who detected and patched several issues. Jochen - Adding the generated sources to the compilers input was not done, if the generated sources where already uptodate. - The packageNam

Re: Patch for maven 2 plugin

2006-02-17 Thread Jochen Wiedmann
Hi, Anthony, Anthony Vito wrote: > 1. clean up javadoc Ok. > 2. rename class to go with file rename Not necessary. Ignored. > 3. changes default source and resource targets to maven 2 'standard' > for generated sources Don't like it: Using two directories was intentionally, because it is

  1   2   3   4   >