You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by "Andreas Beeker (Jira)" <ji...@apache.org> on 2022/01/07 00:09:00 UTC
[jira] [Resolved] (XMLBEANS-47) Inner Class Handler is not supported
[ https://issues.apache.org/jira/browse/XMLBEANS-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Beeker resolved XMLBEANS-47.
------------------------------------
Fix Version/s: Version 5.1.0
Assignee: (was: Cezar Cristian Andrei)
Resolution: Fixed
I think this test covers this issue: xmlobject.extensions.interfaceFeature.methodNameCollision.checkin.NameCollisionTest
... it works with inner static interfaces and the resulting name collisions.
> Inner Class Handler is not supported
> ------------------------------------
>
> Key: XMLBEANS-47
> URL: https://issues.apache.org/jira/browse/XMLBEANS-47
> Project: XMLBeans
> Issue Type: Bug
> Components: Compiler
> Affects Versions: Version 2 Beta 1
> Environment: Windows 2000, JDK 1.4.2_05
> Reporter: jean-christophe.pazzaglia
> Priority: Minor
> Fix For: Version 5.1.0, Version 2 Beta 2
>
>
> tried to move my 'Handler' as an inner classes
> of the 'Inteface' and I get a 'Class not found' if I refer
> to it as 'Interface.Handler' in the xsdconfig
> [java] FigureWithExt.xsdconfig:0: error: Class 'AreaInterface.FigureSquareHandler' not found.
> [java] FigureWithExt.xsdconfig:0: error: Handler class 'AreaInterface.FigureSquareHandler' not found on classpath, skip validation.
> ie using the example on my previous post,
> it is complaining when I am doing something like :
> <xb:extension for="FigureType">
> <xb:interface name="AreaInterface">
> <xb:staticHandler>AreaInterface.FigureSquareHandler</xb:staticHandler>
> </xb:interface>
> </xb:extension>
> [using AreaInterface$FigureSquareHandler but do not 'java' compile]
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org