Browsing through the domify source, I notice that it doesn't have special handling for DOM nodes; it will try to domify them like any other object. This is not good, but it's easy to fix.
I'll correct it tonight and release a new version. 3jeff > -----Original Message----- > From: Mougenot Sylvain [mailto:[EMAIL PROTECTED]] > Sent: Friday, October 04, 2002 2:59 AM > To: Liste Maverick (E-mail) > Subject: [Mav-user] Domify : IllegalAscessException when passing a Node > > > CONTEXT: > I'm using a domify vue for transforming an Object. > This object contains 2 Nodes as members. > When domify runs on it I've an exception: > Exception : java.lang.RuntimeException > Exception when invoking public int > org.apache.crimson.tree.AttributeSet.getLength(): > java.lang.IllegalAccessException: Class > org.infohazard.domify.ElementAdapter$MethodNodeListAdapter can not access > a > member of class org.apache.crimson.tree.AttributeSet with modifiers > "public" > > > QUESTION: > Is theire something I can do to correct it? Have I missed a > parameter in Domify? > > EXCEPTION STACK: > > java.lang.RuntimeException: Exception when invoking public int > org.apache.crimson.tree.AttributeSet.getLength(): > java.lang.IllegalAccessException: Class > org.infohazard.domify.ElementAdapter$MethodNodeListAdapter can not access > a > member of class org.apache.crimson.tree.AttributeSet with modifiers > "public" > at > org.infohazard.domify.ElementAdapter$MethodNodeListAdapter.item(ElementAda > pt > er.java:126) > at > org.infohazard.domify.ElementAdapter.getFirstChild(ElementAdapter.java:426 > ) > at org.apache.xml.utils.TreeWalker.traverse(TreeWalker.java:169) > at > org.apache.xalan.transformer.TransformerIdentityImpl.transform(Transformer > Id > entityImpl.java:325) > ... > > NODEs XML: > <?xml version="1.0" encoding="UTF-8"?> > <menu_donnees> > <element niveau="01" idpage="01010000000"> > <lib>L'ENTREPRISE</lib> > <lien/> > </element> > <element niveau="02" idpage="01010100000"> > <lib>Delta Diffusion en bref</lib> > <lien>/deltaBref.m</lien> > </element> > ... > </menu_donnees> > > <?xml version='1.0' encoding='ISO-8859-1' ?> > <droits> > <!--L'ENTREPRISE--> > <element idpage="01010000000"/> > <!--Delta Diffusion en bref--> > <element idpage="01010100000"/> > <!--Descriptif de la Soci�t�--> > <element idpage="01010101000"/> > <!--Implantation des sites--> > <element idpage="01010102000"/> > ... > </droits> > > > ********************************************************************** > Ce message et ses �ventuels fichiers attach�s sont confidentiels > et sont uniquement � l'attention de la personne physique ou morale > destinatrice. Si vous avez re�u ce message par erreur, merci d'en > avertir l'exp�diteur. > > Ce bas de page assure �galement que ce message a �t� v�rifi� par un anti- > virus > ********************************************************************** > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > [INVALID FOOTER] ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf [INVALID FOOTER]
