Menu

#466 Exception thrown when building javadoc

open
nobody
5
2006-03-15
2006-03-15
No

I do not have java doc on my computer. WHen I attempt
to generate javadocs with ndoc I get an exception.
Contrast this with attempting to build Visual Studio
2003 help without vs 2003 installed. This does not
throw an exception. Rather I get a MessageBox saying
that I must install the HTML Help 2 compiler. I think
jdoc to catch the followiung exception and give a
message box. I tries this in sharpdevelop 2.0 beta 2
and Matt Ward verified with latest 1.3 ndoc.

Exception: System.Xml.Xsl.XsltCompileException

XSLT compile error at
file:///E:/src/CIO_Portal/CIOdba/bin/Debug/doc/ndoc_javadoc_temp/ndoc_resources/xslt/overview-summary.xslt(4,3).
See InnerException for details.

Exception: System.Xml.XmlException

'doc' is an undeclared namespace. Line 551, position 43.
Stack Trace:
Exception: System.Xml.Xsl.XsltCompileException
at
System.Xml.Xsl.XsltOld.Compiler.Compile(NavigatorInput
input, XmlResolver xmlResolver, Evidence evidence)

at
System.Xml.Xsl.XslTransform.Compile(XPathNavigator
stylesheet, XmlResolver resolver, Evidence evidence)

at System.Xml.Xsl.XslTransform.Load(String url,
XmlResolver resolver)

at System.Xml.Xsl.XslTransform.Load(String url)

at
NDoc.Documenter.JavaDoc.JavaDocDocumenter.TransformAndWriteResult(String
transformFilename, XsltArgumentList args, String
resultDirectory, String resultFilename)

at
NDoc.Documenter.JavaDoc.JavaDocDocumenter.WriteOverviewSummary()

at
NDoc.Documenter.JavaDoc.JavaDocDocumenter.Build(Project
project)

at NDoc.Gui.BuildWorker.ThreadProc()

Exception: System.Xml.XmlException
at System.Xml.XmlTextReaderImpl.Throw(Exception e)

at System.Xml.XmlTextReaderImpl.Throw(String res,
String arg, Int32 lineNo, Int32 linePos)

at
System.Xml.XmlTextReaderImpl.LookupNamespace(NodeData node)

at
System.Xml.XmlTextReaderImpl.AttributeNamespaceLookup()

at System.Xml.XmlTextReaderImpl.ParseAttributes()

at System.Xml.XmlTextReaderImpl.ParseElement()

at System.Xml.XmlTextReaderImpl.ParseElementContent()

at System.Xml.XmlTextReaderImpl.Read()

at
System.Xml.XPath.XPathDocument.LoadFromReader(XmlReader
reader, XmlSpace space)

at System.Xml.XPath.XPathDocument..ctor(XmlReader
reader, XmlSpace space)

at
System.Xml.Xsl.XsltOld.Compiler.LoadDocument(XmlTextReaderImpl
reader)

at
System.Xml.Xsl.XsltOld.Compiler.ResolveDocument(Uri
absoluteUri)

at
System.Xml.Xsl.XsltOld.ContainerAction.CompileInclude(Compiler
compiler)

at
System.Xml.Xsl.XsltOld.ContainerAction.CompileTopLevelElements(Compiler
compiler)

at
System.Xml.Xsl.XsltOld.ContainerAction.CompileDocument(Compiler
compiler, Boolean inInclude)

at
System.Xml.Xsl.XsltOld.RootAction.Compile(Compiler
compiler)

at System.Xml.Xsl.XsltOld.Compiler.CreateRootAction()

at
System.Xml.Xsl.XsltOld.Compiler.Compile(NavigatorInput
input, XmlResolver xmlResolver, Evidence evidence)

Discussion


Log in to post a comment.

MongoDB Logo MongoDB