Menu

#308 Exception while building JavaDoc

open
nobody
None
5
2006-12-15
2006-12-15
sjg
No

version 1.3.2540.0
.NET 2.0

The following exception was thrown while trying to build javadoc from a VS 2005 project. No problems when creating MSDN style docs.
---
An error occured while trying to build the documentation.

Exception: System.Xml.Xsl.XsltCompileException
XSLT compile error at file:///C:/src/ndoc-1.3.1/bin/net/2.0/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.

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.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.