The value of attribute "extends" must not contain the '<' character.
--------------------------------------------------------------------
Key: MPJDIFF-7
URL: http://jira.codehaus.org/browse/MPJDIFF-7
Project: maven-jdiff-plugin
Type: Bug
Versions: 1.4
Environment: Maven 1.0.2, JDK 1.5
Reporter: Tim McCune
I'm running a JDiff report on my project and getting a SAXParseException. Here
is the stack trace:
[javadoc] org.xml.sax.SAXParseException: The value of attribute "extends" must
not contain the '<' character. [javadoc] JDiff: reading the old API in from
file 'rel_1_0_a_1.xml'...Fatal Error (440): parsing XML API
file:org.xml.sax.SAXParseException: The value of attribute "extends" must not
contain the '<' character.
[javadoc] at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
Source)
[javadoc] at
org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
[javadoc] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
[javadoc] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
[javadoc] at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown
Source)
[javadoc] at org.apache.xerces.impl.XMLScanner.scanAttributeValue(Unknown
Source)
[javadoc] at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanAttribute(Unknown Source)
[javadoc] at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
[javadoc] at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
[javadoc] at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
[javadoc] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
[javadoc] at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source)
[javadoc] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
[javadoc] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
[javadoc] at jdiff.XMLToAPI.readFile(XMLToAPI.java:70)
[javadoc] at jdiff.JDiff.startGeneration(JDiff.java:83)
[javadoc] at jdiff.JDiff.start(JDiff.java:29)
[javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[javadoc] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[javadoc] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[javadoc] at java.lang.reflect.Method.invoke(Method.java:585)
[javadoc] at
com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:269)
[javadoc] at
com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:143)
[javadoc] at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:340)
[javadoc] at com.sun.tools.javadoc.Start.begin(Start.java:128)
[javadoc] at com.sun.tools.javadoc.Main.execute(Main.java:41)
[javadoc] at com.sun.tools.javadoc.Main.main(Main.java:31)
Here is the section in rel_1_0_a_1.xml that it complaining about:
<!-- start class com.hmsonline.scorpio.Drop.Status.Hibernator -->
<class name="Drop.Status.Hibernator" extends="<any>"
abstract="false"
static="true" final="false" visibility="public"
deprecated="not deprecated">
<constructor name="Drop.Status.Hibernator"
static="false" final="false" visibility="public"
deprecated="not deprecated">
</constructor>
</class>
<!-- end class com.hmsonline.scorpio.Drop.Status.Hibernator -->
No idea what extends="<any>" even means but it's obviously bad XML.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]