<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4522.1800" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I had downloaded an example code from
http://www-106.ibm.com/developerworks/library/data-binding4/index.html?dwzone=xml#Listing%201
related to data binding, but while trying to compile the same i was getting the
below error. Can some body tell me if it is the error with the jdom library or
if there is somethiing wrong with the code.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>C:\org\enhydra\xml\binding>javac *.java
SchemaMapper.java:83: incompatible types found :
com.sun.java.util.collections.List required: java.util.List
.getChildren("complexType", ^ SchemaMapper.java:232:
getPropertiesCode(java.util.List,java.lang.String) in org
.enhydra.xml.binding.SchemaMapper cannot be applied to (com.sun.java.util.collec
tions.List,java.lang.String) getPropertiesCode(complexType.getChildren(),
interfaceName)); ^ SchemaMapper.java:241: incompatible types found :
com.sun.java.util.collections.List required: java.util.List List elements =
complexType.getChildren("element", schemaNamespace); ^ Unmarshaller.java:116:
incompatible types found : com.sun.java.util.collections.List required:
java.util.List List attributes = rootElement.getAttributes(); ^
Unmarshaller.java:152: incompatible types found :
com.sun.java.util.collections.List required: java.util.List List elements =
rootElement.getChildren(); ^ 5 errors </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanking you in anticipation, </FONT></DIV>
<DIV><FONT face=Arial size=2>Saavi Kiran</FONT></DIV></BODY></HTML>