NDocConsole.exe
..\..\SasControl\Src\SasControlInterface\bin\Debug\Philips.CryptoWorks.Sas.ControlInterface.dll,..\..\SasControl\Src\SasControlInterface\doc\SasConfiguration.xml
..\..\SmsHandler\Src\SmsProcessor\bin\Debug\Philips.CryptoWorks.Sas.SmsProcessor.dll,..\..\SmsHandler\Src\SmsProcessor\doc\Documentation.xml
-documenter="VS.NET 2003"
-DocumentEmptyNamespaces=True
-GenerateCollectionFiles=True
-CleanIntermediateFiles=True -verbose -title=Build-Sas
-OutputDirectory=C:\CryptoWorks\Doc\Build-Sas
-HtmlHelpName=Build-Sas
===
the following output is produced:
====
NDoc 1.3.1 (Build 1.3.1851.0; net-1.1.win32; release;
25-01-2005)
http://ndoc.sourceforge.net
Initializing...
Last step took 0.2 s
Merging XML documentation...
Error: NDoc.Core.DocumenterException
An error occured while creating the documentation
Error: System.InvalidOperationException
This document already has a DocumentElement node.
at
NDoc.Documenter.NativeHtmlHelp2.NativeHtmlHelp2Documenter.Build(Project
project)
at NDoc.ConsoleApplication.EntryPoint.Main(String[]
args)
Error: NDoc.Core.DocumenterException
An error occured while creating the documentation
Error: System.InvalidOperationException
This document already has a DocumentElement node.
at
NDoc.Documenter.NativeHtmlHelp2.NativeHtmlHelp2Documenter.Build(Project
project)
at NDoc.ConsoleApplication.EntryPoint.Main(String[]
args)
===
Framework version: MS v1.1.4322
OS: WinXP prof.
The used assemblies and xml files can unfortunately not
be attached due to security restrictions.
Logged In: YES
user_id=919791
Are you using VBCommenter?
Are the xml files well-formed?
Logged In: YES
user_id=565443
The used commenter is VS .Net 2003 as can be seen from the
submitted command-line above. The used xml file is well-formed.
Logged In: YES
user_id=565443
Replacing:
FilteringXmlTextReader fxtr = new
FilteringXmlTextReader(tempFile);
with:
XmlTextReader fxtr = new XmlTextReader(tempFile);
in NDoc.Documenter.NativeHtmlHelp2.Engine.HtmlFactory
resolves the issue. I can't put my finger on it exactly but
it seems that the FilteringXmlTextReader causes XmlDocument
to think it is parsing an Xml file with more than one root
element.