[Dart] Dart 1 : Add web links to build error

Julien Jomier jjomier at cs.unc.edu
Mon Feb 13 21:55:06 EST 2006


Hello all,

I'm using Dart 1 and my build system returns a web link (<a href> ... 
</a>) when an error occurs. I'd like to see the link on the dashboard's 
HTML pages.

My Build.xml file looks like:

<Error>
     <BuildLogLine>1</BuildLogLine>
     <SourceFile>MyFile</SourceFile>
     <SourceLineNumber>378</SourceLineNumber>
     <Text>&#x03C;a href="index.html"&#x03E; Test &#x03C;/a&#x03E;</Text>
     ...
</Error>

I have modified a little bit the Build.xml file created so the HTML link 
can be parsed by XALAN. However, since the XSL sheet defines the tags 
<pre> </pre> around the <text>, the URL doesn't appear on the dashboard 
but rather the full text, i.e "<a href="index.html>Test</a>".
I tried to trick XALAN by adding a </pre> at the beginning of the text 
and I also tried the CDATA element without any luck.

I was wondering if some XML/XSL experts have an idea on how to make this 
works without modifying the server side processing.

Thanks,

Julien



More information about the Dart mailing list