Uploaded image for project: 'XMLBeans'
  1. XMLBeans
  2. XMLBEANS-47

Inner Class Handler is not supported

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • Version 2 Beta 1
    • Compiler
    • None
    • Windows 2000, JDK 1.4.2_05

    Description

      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]

      Attachments

        Activity

          People

            Unassigned Unassigned
            jean-christophe.pazzaglia jean-christophe.pazzaglia
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: