xsdexlipsexsdTransformerother projects

xsdeclipse - Eclipse Interface for xsdTransformer

Generates Code Based On XML Schema

description usable, to be completed.

2006-03-23

Revision History

In the further explanations

eclipseProgramRoot means your individual eclipse program root directory

eclipseWorkspaceRoot means your individual eclipse project root directory. If you are using more than one workspace the descriptions concerning workspace are to apply to each workspace accordingly.

xsdeclipse needs (besides the normal plugin resources) access to Apache log4j (1.2. subversion 9 or an above subversion) and Apche Xerces (Version 2.7.0 or above). The downloads still include the necessary jar files. Feel free to configure the access to the libraries after your fancy.

xsdeclipse is developed using eclispe 3.1.1, java 5 on Windows XP. java 5 id mandatory. xsdeclipse might run on all 3.1.x versions and on all platforms dedicated for eclipse.

xsdeclipse are available for all platforms under xsdeclipse downloads

The provided downloads are completely installable and runnable as it is. For only using xsdeclipse you don't need to download xsdtrans.

xsdexclipse Wizard

1

Root Element is the entry point for the transformation. All top level elements of the selected XMLschema are provided here.

2

Language for labels, alerts, hints and helps. The transformation picks resp. generates the entries according the ajusted language

3

Min. Entries for 'full' Appearance the restriction entries of an xforms select1 control can be rendered either as group of radio control buttons (appearance 'full') or in case of a larger number of entries as a selection list (appearance 'minimal'). This parameter determines the number of entries from whereon the appearance 'minimal' (for listbox control in html) is applied.

4

Generate absent xxxx labels, alerts, hints and helps can be stored at annotation/appinfo of each element. With 'Generate absent xxx' you can force xsdTransformer to generate an entry if there is no entry at appinfo.

5

Container to place the output file in.

6

Filename of the output file.

xsdeclipse uses log4j for logging. At installation state log4j is configured to produce three log files.

  <appender name="debugFile" class="org.apache.log4j.FileAppender">
    <param name="File" value="xsdeclipse.debug"  />1
    <param name="Append" value="false" />
    <layout class="org.apache.log4j.PatternLayout"> 
      <param name="ConversionPattern" value="%d{hh:mm:ss} %p %C.%M(%L): %m%n"/>
    </layout> 
  </appender>
  <appender name="logFile" class="org.apache.log4j.FileAppender">
    <param name="Threshold" value="info" />
    <param name="File" value="xsdeclipse.log" />2 
    <param name="Append" value="true" />
    <layout class="org.apache.log4j.PatternLayout"> 
      <param name="ConversionPattern" value="%d{hh:mm:ss} %p: %m%n"/>
    </layout> 
  </appender>
  <appender name="errorFile" class="org.apache.log4j.FileAppender">
    <param name="Threshold" value="error" />
    <param name="File" value="xsdeclipse.error" />3
    <param name="Append" value="true" />
    <layout class="org.apache.log4j.PatternLayout"> 
      <param name="ConversionPattern" value="%d{hh:mm:ss} %p %C.%M(%L): %m%n"/>
    </layout>
  </appender>
			

Logfiles

231

File Location should be changed according your needs.

1

xsdeclipse.debug receives all messages including program debug messages.

2

xsdeclipse.log receives usual information messages, warnings and error messages.

3

xsdeclipse.error receives only error messages.

Software and documentation is released under the terms of the GNU LGPL license and comes without a warranty of any kind.

Copyright © 2006 joerg.moebius@hamburg.de