Hi daniel,

              I had done that and infact this is the error i am getting in
the command window


Unable to build email message:
ThoughtWorks.CruiseControl.Core.CruiseControlException: Unable to load
transform: xsl\Critical_error.xsl ---> System.Xml.Xsl.XslLoadException: XSLT
compile error. An error occurred at C:\Program
Files\CruiseControl.NET\server\xsl\Critical_error.xsl(1,1). --->
System.Xml.XmlException: Data at the root level is invalid. Line 1, position
1. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at
System.Xml.XmlTextReaderImpl.Throw(String res, String arg) at
System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace() at
System.Xml.XmlTextReaderImpl.ParseDocumentContent() at
System.Xml.XmlTextReaderImpl.Read() at
System.Xml.Xsl.Xslt.XsltInput.ReadNextSiblingHelper() at
System.Xml.Xsl.Xslt.XsltInput.MoveToNextSibling() at
System.Xml.Xsl.Xslt.XsltInput.Start() at
System.Xml.Xsl.Xslt.XsltLoader.LoadDocument() at
System.Xml.Xsl.Xslt.XsltLoader.LoadStylesheet(XmlReader reader, Boolean
include) --- End of inner exception stack trace --- at
System.Xml.Xsl.Xslt.XsltLoader.LoadStylesheet(XmlReader reader, Boolean
include) at System.Xml.Xsl.Xslt.XsltLoader.Load(Compiler compiler, Object
stylesheet, XmlResolver xmlResolver) at
System.Xml.Xsl.Xslt.Compiler.Compile(Object stylesheet, XmlResolver
xmlResolver, QilExpression& qil) at
System.Xml.Xsl.XslCompiledTransform.LoadInternal(Object stylesheet,
XsltSettings settings, XmlResolver stylesheetResolver) at
System.Xml.Xsl.XslCompiledTransform.Load(String stylesheetUri, XsltSettings
settings, XmlResolver stylesheetResolver) at
ThoughtWorks.CruiseControl.Core.Util.XslTransformer.LoadStylesheet(XslCompiledTransform
transform, String xslFileName) --- End of inner exception stack trace --- at
ThoughtWorks.CruiseControl.Core.Util.XslTransformer.LoadStylesheet(XslCompiledTransform
transform, String xslFileName) at
ThoughtWorks.CruiseControl.Core.Util.XslTransformer.TransformToXml(String
xslFilename, XPathDocument document) at
ThoughtWorks.CruiseControl.Core.Publishers.BuildLogTransformer.TransformResults(IList
xslFiles, XPathDocument document) at
ThoughtWorks.CruiseControl.Core.Publishers.BuildLogTransformer.TransformResultsWithAllStyleSheets(XPathDocument
document) at
ThoughtWorks.CruiseControl.Core.Publishers.HtmlDetailsMessageBuilder.AppendHtmlMessageDetails(StringBuilder
message, IIntegrationResult result) at
ThoughtWorks.CruiseControl.Core.Publishers.HtmlDetailsMessageBuilder.BuildMessage(IIntegrationResult
result) at
ThoughtWorks.CruiseControl.Core.Publishers.EmailPublisher.CreateMessage(IIntegrationResult
result)



Thanks and regards
maddy

On Fri, Jun 12, 2009 at 2:21 PM, Daniel Ziegenberg <
[email protected]> wrote:

>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi!
>
> > -----Original Message-----
> >
> > Hi Daniel/Ruben,
> >                        As yiu and Ruben had told,i had
> > actually copied my .xsl i.e Critical_error.xsl file to the
> > xsl folder and in the ccnet.exe.config file we can see an
> > default <xsl> section which is as shown below
> >
> >  <xslFiles>
> >   <file name="xsl\header.xsl"/>
> >   <file name="xsl\compile.xsl"/>
> >   <file name="xsl\unittests.xsl"/>
> >   <file name="xsl\fit.xsl"/>
> >   <file name="xsl\modifications.xsl"/>
> >   <file name="xsl\fxcop-summary.xsl"/>
> >  </xslFiles>
> >
> > so as u had told should i add another tag like
> > <filename="xsl\Critical_error.xsl"/> to this existing one??
>
>
> Exactly!
>
>
> <snip />
>
>
> Have nice day, Daniel!
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (MingW32)
>
> iQEcBAEBAgAGBQJKMhcPAAoJEF19Ug3FEp1XbQ8IALJwd2CHdoNJIf+0Q31ueocD
> M4GlhX/ZN/tLcWuMEUM+uvrHL1dWMAq761VXaNGZdgDUMxUL3oF8AF9a7lDxLgh+
> VaBHIhKcKfFk7xXdK8MFbOdxWFqPrWvvQNPqhX4ponE1oKRrfCqEwv07641WoWWR
> kb2j6ncwd1RTP59knL0C0weAOiV0UHTxOV1mWodA8fnHciFp+ejojHC31+HG3aMB
> eS9vKVEnsnGetpKsAlxf2nnCQiUz5LmvC6QVjcPp+R0w2MZ0JbR4zx6duOBmJ3/1
> sdi/2Hl7IxJJwOYXuJ8H0/GxruM1e0y8HZgFJOzEX+41N+r6ZCW167Dufk3lZnM=
> =5lRv
> -----END PGP SIGNATURE-----
>
>

Reply via email to