logo       

Re: Build problem: msg#00024

java.enhydra.xmlc

Subject: Re: Build problem

Before that, could you try it on Linux? I won't be able to get to this until this weekend.

David


On Tuesday, Mar 4, 2003, at 22:40 Asia/Shanghai, Xue-Feng Yang wrote:

Thanks, and let me know once you have results.

I thought that change "templete.html" to
"templete/html" was a problem.

--- David Li <david@xxxxxxxxxxxxxxxxx> wrote: > The
anonymous class name is taken from the file
path. the ':' in 'g:'
somehow make it a illegal path. I will look into the
issue.

David



On Tuesday, Mar 4, 2003, at 11:28 Asia/Shanghai,
Xue-Feng Yang wrote:

After I changed the filename to the full path:
XMLObject xmlObject =


xmlcFactory.createFromFile("g:/testcenter/resource/html/norvar/

templete.html");

The error message is changed:

java.lang.ClassFormatError: Illegal Class name


"$$XMLC_GENERATED$$/g:/testcenter/resource/html/norvar/templete/html"
at java.lang.ClassLoader.defineClass0(Native
Method)
at


java.lang.ClassLoader.defineClass(ClassLoader.java:502)
at


java.lang.ClassLoader.defineClass(ClassLoader.java:431)
at


org.enhydra.xml.xmlc.deferredparsing.DynamicClassLoader.defineClass(Dyn

amicClassLoader.java:104)
at


org.enhydra.xml.xmlc.deferredparsing.DynamicClassLoader.createClass(Dyn

amicClassLoader.java:124)
at


org.enhydra.xml.xmlc.deferredparsing.XMLCDeferredParsingFactory.createF

romFile(XMLCDeferredParsingFactory.java:182)
at


com.yzsoft.testcenter.tools.staticpages.HTMLGenerator.testXMLC(HTMLGene

rator.java:113)
at


com.yzsoft.testcenter.tools.staticpages.HTMLGenerator.main(HTMLGenerato

r.java:97)
Exception in thread "main"

It looks that the paser changes "." to "/". Any
suggestion to the argument of the method
createFromFile?

Thanks



______________________________________________________________________
Post your free ad now! http://personals.yahoo.ca
_______________________________________________
XMLC mailing list
XMLC@xxxxxxxxxxx
http://www.enhydra.org/mailman/listinfo.cgi/xmlc

_______________________________________________
XMLC mailing list
XMLC@xxxxxxxxxxx
http://www.enhydra.org/mailman/listinfo.cgi/xmlc

______________________________________________________________________
Post your free ad now! http://personals.yahoo.ca
_______________________________________________
XMLC mailing list
XMLC@xxxxxxxxxxx
http://www.enhydra.org/mailman/listinfo.cgi/xmlc


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise