"Invalid character in input" error when using javadoc
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   chitra_sridhar
Posted On:   Wednesday, February 6, 2002 08:59 AM

I am trying to execute javadoc command to get the 3-frame API for the following the packages xxx and xxx.yyy The directory structure is api src ----overview.html ---- xxx -------package.html -------XXXClass1.java -------yyy ---------package.html ---------YYYClass1.java classes -----xxx -------XXXClass1.class -------yyy ---------YYYClass1.class The src files have just the package and class declarations package xxx; import yyy.*; public class XXXClass1 { } package xxx.yyy; public class YYYClass1 { } The javad   More>>

I am trying to execute javadoc command to get the 3-frame API for the following the packages xxx and
xxx.yyy


			
The directory structure is

api
src
----overview.html
---- xxx
-------package.html
-------XXXClass1.java
-------yyy
---------package.html
---------YYYClass1.java

classes
-----xxx
-------XXXClass1.class
-------yyy
---------YYYClass1.class


The src files have just the package and class declarations

package xxx;
import yyy.*;
public class XXXClass1 {
}


package xxx.yyy;
public class YYYClass1 {
}

The javadoc command is executed from the src directory.

javadoc -d ../api -overview overview.html -classpath ../classes -sourcepath . xxx xxx.yyy

But I am getting the following error

Loading source file xxx...
Loading source files for package xxx.yyy...
xxx: Invalid character in input.
xxx: Class or interface declaration expected.
xxx: Invalid character in input.
xxx: Invalid character in input.
xxx: Invalid character in input.
.
.
.



Can anybody help me in fixing this?

Thanks,
chitra    <<Less

Re: "Invalid character in input" error when using javadoc

Posted By:   Matt_Doar  
Posted On:   Friday, February 8, 2002 05:44 PM

You probably have some non-HTML characters in your doc blocks or are creating odd HTML tags somehow.

~Matt
doar@pobox.com
About | Sitemap | Contact