Hi Dennis,
I'm running this under WinXP. Will that make a difference ?
I've deleted the whole org/apache/maven directory just to be sure. Then
deleted the /target directory and ran mvn clean site. Downloaded versions
are:
doxia(core & site): 1.0-alpha-7
site: 2.0-beta-5
Same result again in index.html:
<div class="section"><h2>section 1</h2>
<div class="section"><h3>subsection 1</h3>
<p>paragraph 1 in subsection 1</p>
<ul>
<li>list item 1</li>
<li>list item 2</li>
</ul>
paragraph 2 in subsection 1
</div>
<div class="section"><h3>subsection 2</h3>
paragraph 1 in subsection 2
</div>
</div>
Also tried:
Running under cgwin - no difference.
Commenting out the 2.0-beta-5 dependency - no difference.
... 2 hours later ;-) ...
Been trolling the repository and jars. I've tried to check out Maven several
times now and Eclipse just crashes after about 5 minutes of downloading.
Gives some message about the server killing the connection. Anyway, trolling
the repository directly is slow but I think I have a handle on this.
Three classes are involved MXParser which parses the source index.xml,
XDocParser which responds to the xml events as the file is read and feeds
the data to XdocSink which formats the output and writes it to the html
file. Looking inside XdocSink we see that there is a flag (as I suspected)
which is set when dealing with a list. This flag is also checked when
receiving <p> tag events. I cannot see anything wrong with the code, but it
looks as if the communication between these three classes is going awry
somewhere. The code in XdocSink suggests that possibly after the </ul> tag
is written the flag is somehow not being reset which would cause the next
<p> to be ignored. However the next </p> would still reset the flag. So I
thought perhaps thing is causing the MXParser to send data following this in
a way that XDocParser is not seeing as <p> tags.
Too hard to tell from the source, I would really need to debug through and
as I said I've had no luck trying to checkc it out.
Hope this helps.
Derek
P.S. I also traced the MXParser back to the core maven pluxus lib (v1.1) and
manually updaed it to v1.4, but that didn't fix it either ;-(
Dennis Lundberg-2 wrote:
>
> drekka wrote:
>> Hi Dennis,
>>
>> As expected, the results are the same - no <p> tags:
>
> Hi Derek
>
> Actually that's not what I expected. If we are using the same version of
> Maven and the site-plugin we should get the same results. What OS are
> you running this on?
>
> You might also try to nuke the
> org/apache/maven/plugins/maven-site-plugin and org/apache/maven/doxia
> directories of your local repository. This would trigger a fresh
> download of the site-plugin and doxia, during the next run.
>
>> <div id="bodyColumn">
>> <div id="contentBox">
>>
>>
>> <div class="section"><h2>section 1</h2>
>> <div class="section"><h3>subsection 1</h3>
>> <p>paragraph 1 in subsection 1</p>
>> <ul>
>> <li>list item 1</li>
>> <li>list item 2</li>
>> </ul>
>> paragraph 2 in subsection 1
>> </div>
>> <div class="section"><h3>subsection 2</h3>
>> paragraph 1 in subsection 2
>> </div>
>> </div>
>>
>>
>> </div>
>> </div>
>>
>> I'll re-install maven and try again.
>>
>> ciao
>> Derek
>
>
> --
> Dennis Lundberg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/xdoc-test-results-for-Dennis-tf2955728s177.html#a8289937
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]