Mail Archive Home | xmlc List | August 2006 Index
| <-- Date Index --> | <-- Thread Index --> |
Glad to hear you were able to work around it. I will try your original file when I get home tonight to see if it does, indeed, still fail with deferred parsing. If it does, its definitely something that should be investigated and fixed. I just noticed that you reported this issue in the XMLC objectweb forge tracker. I was going to suggest you do that before I saw that you already did. Thanks! Jake Quoting Mohammed Rafeeq <mrafeeq@xxxxxxx>: > I am not sure how to check if the command line utility passes the > "-for-deferred-parsing" flag to XMLC. > > Now I cleaned up my html and moved all my javascript, css to external > files. More over I converted > > <td id ="abc"> <input type ="text" id="xyz"></td> > > To > > <td><input type ="text" id="xyz"></td> > > And now it compiles. I changed the way my presentation object is > reaching each table cell element and manipulating the content. > > But I am still curious enough to know why the earlier file failed to > compile. If it is a bug in xmlc we can fix it . > > Thank you. > -rafeeq > > > > > > -----Original Message----- > From: Jacob Kjome [mailto:hoju@xxxxxxxx] > Sent: Wednesday, August 16, 2006 10:07 AM > To: Mohammed Rafeeq > Cc: xmlc@xxxxxxxxxxxxx; enhydra@xxxxxxxxxxxxx > Subject: RE: [xmlc] Re: [enhydra] java.lang.StackOverflowError File > attached > > Quoting Mohammed Rafeeq <mrafeeq@xxxxxxx>: > > > The file that is failing to compile is attached. > > > > I tried using deferred parsing by specifying > > > > C:\xmlc -for-deferred-parsing CARGO2QC.html > > > > I get the same error > > Are you sure that the command line utility you are using passes the > "-for-deferred-parsing" flag to XMLC to evaluate as a metadata option? > > > > > I am using I am using enhydra 5.1 and xmlc.jar: 2.2.5.. I am working > > on Windows xp professional. I tried downloading the latest xmlc.jar > > but it did not help either. I tried downloading the latest version > > enhydra app > > server(7.x) , created a application and tried to compile this file , > > it did not help either. > > > > Since this is a show stopper I am proceeding by chopping and reducing > > a few content in my html file. > > > > Is the full content of the HTML file needed or is some of it just mockup > markup that could be removed? You can set a CSS class name to each row > in the table, such as "removeMe", that is just mockup data and provide > the XMLC command line option "-delete-class removeMe" or the XML... > > <domEdits> > <deleteElement elementClasses="removeMe"/> </domEdits> > > > I wanted to debug by downloading the source code. But did not know how > > > to download that particular version from sourceforge.net > > > > You can check out the CVS for the tag XMLC_2_2_X (where X is the version > you are interested in). I would try XMLC_2_2_10, since it is the latest > and has Eclipse project files available for it. That will make it > easier to get up and running. > See the following page for information on checking out XMLC CVS > source... > > http://forge.objectweb.org/scm/?group_id=49 > > If you don't currently use a CVS client, I recommend using TortoiseCVS > at http://www.tortoisecvs.org/ . It makes things easy. Either go for > the 1.8.xx versions or the 1.9.11 version. The latest versions of 1.9, > including 1.9.12 through 1.9.14, seem to suffer from various problems > that prevent proper usage. > I hope 1.9.15 will clear things up, but it isn't out yet. > > Jake > > > Thanks, > > -rafeeq > > > > > > > > > > -----Original Message----- > > From: Jacob Kjome [mailto:hoju@xxxxxxxx] > > Sent: Tuesday, August 15, 2006 9:21 PM > > To: xmlc@xxxxxxxxxxxxx; enhydra@xxxxxxxxxxxxx > > Cc: Mohammed Rafeeq > > Subject: Re: [xmlc] Re: [enhydra] java.lang.StackOverflowError > > > > > > What version of XMLC is being used? Can you provide the file that > > causes the error? Have you tried using XMLC's deferred parsing > feature? > > I think deferred parsing would solve this issue. > > > > Jake > > > > At 03:25 AM 8/14/2006, Slobodan Vujasinovic wrote: > > >Hi, > > > > > >I've forwarded your message to XMLC mailing list! > > >Maybe someone else already had this problem with large HTML pages!? > > > > > >Which Enhydra and XMLC versions are you using currently (please post > > >your response on XMLC mailing list too - xmlc@xxxxxxxxxxxxx)? > > > > > >Regards, > > > Slobodan Vujasinovic > > >Enhydra Development Team > > > > > > > > > > > >mrafeeq@xxxxxxx wrote: > > > > > >>Hi all > > >> > > >>I have a big html file ( consisting of 550 <td> cells) . when i run > > > the xmlc >> >>When I run the ant task to compile my html to .java > > files it throws >an exception like below. ( i run a xmlc task) >> > > >>xmlc: > > >> [xmlc] CARGO2QC.html --> CARGO2QC.class > > >> [xmlc] >>> parsing > > >C:\xdx\svndatafinder\src\datafinder\resources\CARGO2QC.html > > >> [xmlc] >>> using DOM Factory class: > > >org.enhydra.xml.xmlc.dom.lazydom.LazyHTMLDomFactory > > >> [xmlc] >>> generating code > > >> [xmlc] creating class: > > >C:\xdx\svndatafinder\classes\Generated > > >Source\datafinder\presentation\CARGO2QCHTML.java > > >> [xmlc] >>> compiling code > > >> [xmlc] javac -d C:\xdx\svndatafinder\classes -encoding > > >ISO-8859-1 C:\xdx\svndatafinder\classes\Generated > > >Source\datafinder\presentation\CARGO2QCHTML.java > > >> > > >> > > >>The system is out of resources. > > >>Consult the following stack trace for details. > > >>java.lang.StackOverflowError > > >> [xmlc] Error: compile of generated java code failed > > >> [xmlc] org.enhydra.xml.xmlc.XMLCException: compile of > generated > > >java code failed > > >> [xmlc] at > > >org.enhydra.xml.xmlc.misc.ProcessRunner.run(ProcessRunner.java:283) > > >> [xmlc] at > > > >org.enhydra.xml.xmlc.codegen.JavaCompile.compile(JavaCompile.java:145) > > >> [xmlc] at > > org.enhydra.xml.xmlc.compiler.Javac.compile(Javac.java:88) > > >> [xmlc] at > > > > > >org.enhydra.xml.xmlc.compiler.Compiler.compileJavaSource(Compiler.java: > > 153) > > >> [xmlc] at > > > > >org.enhydra.xml.xmlc.compiler.Compiler.compileDocument(Compiler.java: > > >18 > > 5) > > >> [xmlc] at > > >org.enhydra.xml.xmlc.compiler.Compiler.compile(Compiler.java:226) > > >> [xmlc] at > > >org.enhydra.xml.xmlc.commands.xmlc.XMLC.compile(XMLC.java:132) > > >> [xmlc] at > > > > >org.enhydra.xml.xmlc.commands.xmlc.XMLC.compileHandleErrors(XMLC.java > > >:1 > > 42) > > >> [xmlc] at > > org.enhydra.xml.xmlc.commands.xmlc.XMLC.main(XMLC.java:153) > > >> [xmlc] at > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > >> [xmlc] at > > > > >sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > > >ja > > va:39) > > >> [xmlc] at > > > > >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > > s > > >orImpl.java:25) > > >> [xmlc] at java.lang.reflect.Method.invoke(Method.java:324) > > >> [xmlc] at com.lutris.ant.taskdefs.Xmlc.execute(Unknown > > Source) > > >> [xmlc] at org.apache.tools.ant.Task.perform(Task.java:317) > > >> [xmlc] at > > org.apache.tools.ant.Target.execute(Target.java:309) > > >> [xmlc] at > > org.apache.tools.ant.Target.performTasks(Target.java:334) > > >> [xmlc] at > > >org.apache.tools.ant.Project.executeTarget(Project.java:1306) > > >> [xmlc] at > > >org.apache.tools.ant.Project.executeTargets(Project.java:1250) > > >> [xmlc] at > org.apache.tools.ant.Main.runBuild(Main.java:610) > > >> [xmlc] at org.apache.tools.ant.Main.start(Main.java:196) > > >> [xmlc] at org.apache.tools.ant.Main.main(Main.java:235) > > >> > > >> > > >>On researching I found out that the java stack is getting > overflown. > > >I tried to increase the java stack size and os stack size by > > mentioning >> >>%JAVA% -Xms256M -Xmx512M -Xss1000K -Xoss5000K -cp > > %CLASSPATH% ......... > > >> > > >>in %ENHYDRA_HOME%/bin/ant.bat > > >> > > >>I am using jdk 1.4.2 and the operating system is windows xp > > professional. > > >> > > >>but this did not solve the problem. Any leads will be much > > appreciated >> >>I have posted this problem in this forum too >> > > >>http://forums.devx.com/showthread.php?t=155222&highlight=java.lang.S > > >>t > > >ackOverflowError > > >> > > >>Thanksm > > >>-Rafeeq(mrafeeq@xxxxxxx) > > >> > > >> > > >> > > > > >>-------------------------------------------------------------------- > > >>-- > > -- > > >> > > >> > > >>-- > > >>You receive this message as a subscriber of the > > enhydra@xxxxxxxxxxxxx > > >mailing list. > > >>To unsubscribe: mailto:enhydra-unsubscribe@xxxxxxxxxxxxx > > >>For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help > > >>ObjectWeb mailing lists service home page: > > http://www.objectweb.org/wws >> >> > > > > > >-- > > >You receive this message as a subscriber of the xmlc@xxxxxxxxxxxxx > > >mailing list. > > >To unsubscribe: mailto:xmlc-unsubscribe@xxxxxxxxxxxxx > > >For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help > > >ObjectWeb mailing lists service home page: > > http://www.objectweb.org/wws > > > > > > >
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.