[prev in list] [next in list] [prev in thread] [next in thread]
List: xmlbeans-dev
Subject: [jira] Commented: (XMLBEANS-396) GML 3.1.1 generated code fails to
From: "Anna Gimbitskaya (JIRA)" <xmlbeans-dev () xml ! apache ! org>
Date: 2010-05-20 10:20:53
Message-ID: 25841785.38931274350853675.JavaMail.jira () thor
[Download RAW message or body]
[ https://issues.apache.org/jira/browse/XMLBEANS-396?page=com.atlassian.jira.plugi \
n.system.issuetabpanels:comment-tabpanel&focusedCommentId=12869551#action_12869551 ]
Anna Gimbitskaya commented on XMLBEANS-396:
-------------------------------------------
Dear Andrei!
i am using the xmlbeans 2.5.0 and having the same problems with GML as described \
above.
I checked the same class as above, and notice, that no changes done, as it should be \
according above.
Thus i did them manually:
if ( xmltype && !isSubstGroup ) should be in both placed
now GML generated without errors.
I feel it is important to change, as i tried the current release for GML, SensorML \
and sensorObservation schemas, for all of them the same error. With the updated code \
all schemas works perfect!
with respect,
Anna Gimbitskaya
> GML 3.1.1 generated code fails to compile.
> ------------------------------------------
>
> Key: XMLBEANS-396
> URL: https://issues.apache.org/jira/browse/XMLBEANS-396
> Project: XMLBeans
> Issue Type: Bug
> Affects Versions: Version 2.4.1
> Reporter: Chris Clark
> Fix For: Version 2.4.1
>
>
> After generating code for GML 3.1.1, the code fails to compile. The following \
> compilation error is given: \
> generatedSetterHelperImpl(org.apache.xmlbeans.XmlObject,javax.xml.namespace.QName,int,short) \
> in org.apache.xmlbeans.impl.values.XmlObjectBase cannot be applied to \
> (java.lang.Object,javax.xml.namespace.QName,int,short) \
> generatedSetterHelperImpl(xnull, NULL$26, i, \
> org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM); It \
> appears this error is a result of changes made to SchemaTypeCodePrinter.java. The \
> call generatedSetterHelperImpl is called in 2 places in this class, however the \
> second place is surrounded by an "if ( isobj )" which appears to generate invalid \
> code. I believe this code needs to be updated to reflect the "if ( xmltype && \
> !isSubstGroup )" as in the first place the code is called. This code change fixed \
> the issue with GML 3.1.1 gode generation. Someone more familiar with the code \
> should verify and commit this change.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic