Interesting since I have a similar problem a whil ago. The solution is in xdoc, inside 
<pre> or <code> block, use &amp;lt; instead of &lt. So when generating xdoc, it needs 
to generate &amp;lt; in the <code> block.

Howard Lin

> -----Original Message-----
> From: Vincent Massol [mailto:vmassol@;octo.com]
> Sent: Friday, November 01, 2002 5:31 PM
> To: 'Turbine Maven Developers List'
> Subject: FW: [jira.werken.com] Created: (MAVEN-147) DVSL to 
> xdoc to HTML
> problem with < and >
> 
> 
> As JIRA's email seems broken ATM, I'm forwarding this to the list...
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:bob@;werken.com]
> > Sent: 01 November 2002 20:16
> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: [jira.werken.com] Created: (MAVEN-147) DVSL to xdoc to HTML
> > problem with < and >
> > 
> > Message:
> > 
> >   A new issue has been created in JIRA.
> > 
> > 
> ---------------------------------------------------------------------
> > View the issue:
> > 
> >   http://jira.werken.com/secure/ViewIssue.jspa?key=MAVEN-147
> > 
> > 
> > Here is an overview of the issue:
> > 
> ---------------------------------------------------------------------
> >         Key: MAVEN-147
> >     Summary: DVSL to xdoc to HTML problem with < and >
> >        Type: Bug
> > 
> >      Status: Assigned
> >    Priority: Major
> > 
> >  Time Spent: Unknown
> >    Estimate: 0 minutes
> > 
> >     Project: maven
> >   Component: None
> >    Versions:
> >              1.0-beta-6
> > 
> >    Assignee: Jason van Zyl
> >    Reporter: Vincent Massol
> > 
> >     Created: Fri, 1 Nov 2002 2:15 PM
> >     Updated: Fri, 1 Nov 2002 2:15 PM
> > 
> > Description:
> > Hi,
> > 
> > I have a test case that fails and thus the error is:
> > 
> > "Expected <xxxx> but was <yyyy>"
> > 
> > This is stored in the junit XML report as:
> > 
> > <error message="expected:&lt;SELECT...&gt; but 
> was:&lt;null&gt;" [...]
> > 
> > But when it goes throught the first DVSL transformation to transform
> it
> > into a valid xdoc, it is translated to:
> > 
> >     <code>
> >       junit.framework.ComparisonFailure: expected:&lt;SELECT...&gt;
> but
> > was:&lt;null&gt;
> > [...]
> > 
> > And then xdoc:transform transforms it into HTML :
> > 
> >     <code>
> >       junit.framework.ComparisonFailure: expected:<SELECT...> but
> > was:<null>
> > 
> > [...]
> > 
> > And the browser just simply ignore these unknown tags and displays:
> > 
> > "junit.framework.ComparisonFailure: expected: but was: at " [...]
> > 
> > How to correct?
> > 
> > Thanks
> > -Vincent
> > 
> > 
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > JIRA INFORMATION:
> > This message is automatically generated by JIRA.
> > 
> > If you think it was sent incorrectly contact one of the
> administrators:
> >    http://jira.werken.com/Administrators.jspa
> > 
> > If you want more information on JIRA, or have a bug to report see:
> >    http://www.atlassian.com/software/jira
> 
> 
> 
> --
> To unsubscribe, e-mail:   
<mailto:turbine-maven-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-maven-dev-help@;jakarta.apache.org>

-------------------------------------------------------------------------------------------------
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.
-------------------------------------------------------------------------------------------------

--
To unsubscribe, e-mail:   <mailto:turbine-maven-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-maven-dev-help@;jakarta.apache.org>

Reply via email to