Hi, What document factory are you using. The default document factory is not schema aware, but the DatatypeDocumentFactory is
Mike > -----Original Message----- > From: Vik Kat [mailto:[EMAIL PROTECTED] > Sent: Tuesday 11 March 2003 16:53 > To: [EMAIL PROTECTED] > Subject: [dom4j-user] Attribute getObject() always returns String > > > Hi everybody, > I am parsing an XML file with xml schema and I expected that > when I call > Attribute getObject() I get an object of a Java class > corresponding to xml > schema types, but in reality I am always getting a String. > > > > > > _________________________________________________________________ > STOP MORE SPAM with the new MSN 8 and get 2 months FREE* > http://join.msn.com/?page=features/junkmail > > > > ------------------------------------------------------- > This SF.net email is sponsored by:Crypto Challenge is now open! > Get cracking and register here for some mind boggling fun and > the chance of winning an Apple iPod: > http://ads.sourceforge.net/cgi-> bin/redirect.pl?thaw0031en > > > _______________________________________________ > dom4j-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/d> om4j-user > ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user