axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIS2-4413) getPullParser methods generated by ADB are broken
Date Sat, 05 May 2012 21:59:49 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-4413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269069#comment-13269069
] 

Hudson commented on AXIS2-4413:
-------------------------------

Integrated in Axis2 #1433 (See [https://builds.apache.org/job/Axis2/1433/])
    AXIS2-4413: Removed the getPullParser stuff from generated ADB code. Also modified ADBXMLStreamReaderTest
so that all unit tests use POJOs (the POJO databinding continues to use ADBXMLStreamReaderImpl).
(Revision 1334481)

     Result = SUCCESS
veithen : 
Files : 
* /axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate-bean.xsl
* /axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate-helpermode.xsl
* /axis/axis2/java/core/trunk/modules/adb-codegen/test/org/apache/axis2/schema/ADBBeanUtil.java
* /axis/axis2/java/core/trunk/modules/adb-codegen/test/org/apache/axis2/schema/AbstractTestCase.java
* /axis/axis2/java/core/trunk/modules/adb-codegen/test/org/apache/axis2/schema/all/AllTest.java
* /axis/axis2/java/core/trunk/modules/adb-codegen/test/org/apache/axis2/schema/anytype/AnyTypeTest.java
* /axis/axis2/java/core/trunk/modules/adb-codegen/test/org/apache/axis2/schema/attribute/AttributeTest.java
* /axis/axis2/java/core/trunk/modules/adb-codegen/test/org/apache/axis2/schema/base64binary/Base64BinaryTest.java
* /axis/axis2/java/core/trunk/modules/adb-codegen/test/org/apache/axis2/schema/booleantest/BooleanTest.java
* /axis/axis2/java/core/trunk/modules/adb-codegen/test/org/apache/axis2/schema/chameleon/ChameleonTest.java
* /axis/axis2/java/core/trunk/modules/adb-codegen/test/org/apache/axis2/schema/choice/ChoiceTest.java
* /axis/axis2/java/core/trunk/modules/adb-codegen/test/org/apache/axis2/schema/decimal/DecimalTest.java
* /axis/axis2/java/core/trunk/modules/adb-codegen/test/org/apache/axis2/schema/enumeration/EnumerationTest.java
* /axis/axis2/java/core/trunk/modules/adb-codegen/test/org/apache/axis2/schema/extension/ComplexExtenstionTest.java
* /axis/axis2/java/core/trunk/modules/adb-codegen/test/org/apache/axis2/schema/extension/SimpleExtensionTest.java
* /axis/axis2/java/core/trunk/modules/adb-codegen/test/org/apache/axis2/schema/group/GroupTest.java
* /axis/axis2/java/core/trunk/modules/adb-codegen/test/org/apache/axis2/schema/innerchoice/InnerChoiceTest.java
* /axis/axis2/java/core/trunk/modules/adb-codegen/test/org/apache/axis2/schema/innerparticleextension/TestInnerParticleExtension.java
* /axis/axis2/java/core/trunk/modules/adb-codegen/test/org/apache/axis2/schema/innerparticles/InnerParticlesTest.java
* /axis/axis2/java/core/trunk/modules/adb-codegen/test/org/apache/axis2/schema/list/ListTest.java
* /axis/axis2/java/core/trunk/modules/adb-codegen/test/org/apache/axis2/schema/nonamespace/NoNamespaceTest.java
* /axis/axis2/java/core/trunk/modules/adb-codegen/test/org/apache/axis2/schema/particlemaxoccurs/ParticleMaxOccursTest.java
* /axis/axis2/java/core/trunk/modules/adb-codegen/test/org/apache/axis2/schema/references/ReferenceTest.java
* /axis/axis2/java/core/trunk/modules/adb-codegen/test/org/apache/axis2/schema/restriction/ComplexRestrictionTest.java
* /axis/axis2/java/core/trunk/modules/adb-codegen/test/org/apache/axis2/schema/restriction/SimpleRestrictionTest.java
* /axis/axis2/java/core/trunk/modules/adb-codegen/test/org/apache/axis2/schema/testsuite/AnyElementsTest.java
* /axis/axis2/java/core/trunk/modules/adb-codegen/test/org/apache/axis2/schema/union/UnionTest.java
* /axis/axis2/java/core/trunk/modules/adb-codegen/test/org/apache/axis2/schema/union2/Union2Test.java
* /axis/axis2/java/core/trunk/modules/adb-codegen/test/org/apache/axis2/schema/unqualified/UnqualifiedTest.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/ADBBean.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/ADBHelper.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/ADBHelperDataSource.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/AnyType.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/AnyURI.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/Array.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/ArrayCoordinate.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/ArrayE.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/Base64.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/Base64Binary.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/Date.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/DateTime.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/Decimal.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/Duration.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/ENTITIES.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/ENTITY.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/GDay.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/GMonth.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/GMonthDay.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/GYear.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/GYearMonth.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/HexBinary.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/ID.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/IDREF.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/IDREFS.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/Integer.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/Language.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/NCName.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/NMTOKEN.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/NMTOKENS.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/NOTATION.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/Name.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/NegativeInteger.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/NonNegativeInteger.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/NonPositiveInteger.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/NormalizedString.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/PositiveInteger.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/QName.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/String.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/Struct.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/Time.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/Token.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/UnsignedByte.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/UnsignedInt.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/UnsignedLong.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/UnsignedShort.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/_boolean.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/_byte.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/_double.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/_float.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/_int.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/_long.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/_short.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/AnyURI.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/Base64.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/Base64Binary.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/Date.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/DateTime.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/Decimal.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/Duration.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/ENTITIES.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/ENTITY.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/GDay.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/GMonth.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/GMonthDay.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/GYear.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/GYearMonth.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/HexBinary.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/ID.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/IDREF.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/IDREFS.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/Integer.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/Language.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/NCName.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/NMTOKEN.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/NMTOKENS.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/NOTATION.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/Name.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/NegativeInteger.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/NonNegativeInteger.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/NonPositiveInteger.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/NormalizedString.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/PositiveInteger.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/QName.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/String.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/Time.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/Token.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/UnsignedByte.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/UnsignedInt.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/UnsignedLong.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/UnsignedShort.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/_boolean.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/_byte.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/_double.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/_float.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/_int.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/_long.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/types/xsd/_short.java
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/utils/reader/ADBXMLStreamReaderImpl.java
* /axis/axis2/java/core/trunk/modules/adb/test/org/apache/axis2/databinding/ClientInfo.java
* /axis/axis2/java/core/trunk/modules/adb/test/org/apache/axis2/databinding/CreateAccountRequest.java
* /axis/axis2/java/core/trunk/modules/adb/test/org/apache/axis2/databinding/utils/reader/ADBXMLStreamReaderTest.java
* /axis/axis2/java/core/trunk/modules/adb/test/org/apache/axis2/databinding/utils/reader/DummyBean.java

                
> getPullParser methods generated by ADB are broken
> -------------------------------------------------
>
>                 Key: AXIS2-4413
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4413
>             Project: Axis2
>          Issue Type: Bug
>          Components: adb
>            Reporter: Andreas Veithen
>            Assignee: Andreas Veithen
>
> When working on the ADB test suite, I noticed that the getPullParser methods generated
by ADB don't work properly. 98 (!) out of 114 existing test cases (working properly with serialize
or getOMElement) fail when trying to use getPullParser.
> Probably this is the reason why ADBDataSource#getReader builds an Axiom tree from the
bean and gets the XMLStreamReader from this tree (which is highly inefficient) instead of
using getPullParser.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message