You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Achim Huegen (JIRA)" <ji...@codehaus.org> on 2005/09/27 21:46:11 UTC

[jira] Created: (MNG-1030) Cascaded menu items create invalid html code

Cascaded menu items create invalid html code
--------------------------------------------

         Key: MNG-1030
         URL: http://jira.codehaus.org/browse/MNG-1030
     Project: Maven 2
        Type: Bug
  Components: maven-site-plugin  
    Versions: 2.0-beta-1    
 Reporter: Achim Huegen
    Priority: Minor


A cascaded item like this:

<menu name="menu1">
   <item name="item1" href="test.html">
        <item name="subitem" href="test2.html" />
    </item>
</menu> 

is generated like this:

<ul>
   <li> .. </li>
   <ul>
       <li>..</li>
   </ul>
</ul>
   
Which is invalid since the ul element doesn't allow other elements than <li>.

Test:
The maven 2 site is not accepted by w3c validator:
http://validator.w3.org/check?verbose=1&uri=http%3A//maven.apache.org/maven2/project-info.html






-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MNG-1030) Cascaded menu items create invalid html code

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1030?page=all ]

Brett Porter updated MNG-1030:
------------------------------

    Fix Version: 2.0-beta-4

> Cascaded menu items create invalid html code
> --------------------------------------------
>
>          Key: MNG-1030
>          URL: http://jira.codehaus.org/browse/MNG-1030
>      Project: Maven 2
>         Type: Bug
>   Components: maven-site-plugin
>     Versions: 2.0-beta-1
>     Reporter: Achim Huegen
>     Priority: Minor
>      Fix For: 2.0-beta-4

>
>
> A cascaded item like this:
> <menu name="menu1">
>    <item name="item1" href="test.html">
>         <item name="subitem" href="test2.html" />
>     </item>
> </menu> 
> is generated like this:
> <ul>
>    <li> .. </li>
>    <ul>
>        <li>..</li>
>    </ul>
> </ul>
>    
> Which is invalid since the ul element doesn't allow other elements than <li>.
> Test:
> The maven 2 site is not accepted by w3c validator:
> http://validator.w3.org/check?verbose=1&uri=http%3A//maven.apache.org/maven2/project-info.html

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MNG-1030) Cascaded menu items create invalid html code

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1030?page=all ]
     
Brett Porter closed MNG-1030:
-----------------------------

    Resolution: Fixed

> Cascaded menu items create invalid html code
> --------------------------------------------
>
>          Key: MNG-1030
>          URL: http://jira.codehaus.org/browse/MNG-1030
>      Project: Maven 2
>         Type: Bug
>   Components: maven-site-plugin
>     Versions: 2.0-beta-1
>     Reporter: Achim Huegen
>     Assignee: Edwin Punzalan
>     Priority: Minor
>      Fix For: 2.0
>  Attachments: MNG-1030-maven-site-plugin.patch
>
>
> A cascaded item like this:
> <menu name="menu1">
>    <item name="item1" href="test.html">
>         <item name="subitem" href="test2.html" />
>     </item>
> </menu> 
> is generated like this:
> <ul>
>    <li> .. </li>
>    <ul>
>        <li>..</li>
>    </ul>
> </ul>
>    
> Which is invalid since the ul element doesn't allow other elements than <li>.
> Test:
> The maven 2 site is not accepted by w3c validator:
> http://validator.w3.org/check?verbose=1&uri=http%3A//maven.apache.org/maven2/project-info.html

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MNG-1030) Cascaded menu items create invalid html code

Posted by "Edwin Punzalan (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1030?page=all ]

Edwin Punzalan updated MNG-1030:
--------------------------------

    Attachment: MNG-1030-maven-site-plugin.patch

formatted it as follows:

<ul>
  <li>
    <ul>
      <li />
    </ul>
  </li>
</ul>

> Cascaded menu items create invalid html code
> --------------------------------------------
>
>          Key: MNG-1030
>          URL: http://jira.codehaus.org/browse/MNG-1030
>      Project: Maven 2
>         Type: Bug
>   Components: maven-site-plugin
>     Versions: 2.0-beta-1
>     Reporter: Achim Huegen
>     Assignee: Edwin Punzalan
>     Priority: Minor
>      Fix For: 2.0-beta-4
>  Attachments: MNG-1030-maven-site-plugin.patch
>
>
> A cascaded item like this:
> <menu name="menu1">
>    <item name="item1" href="test.html">
>         <item name="subitem" href="test2.html" />
>     </item>
> </menu> 
> is generated like this:
> <ul>
>    <li> .. </li>
>    <ul>
>        <li>..</li>
>    </ul>
> </ul>
>    
> Which is invalid since the ul element doesn't allow other elements than <li>.
> Test:
> The maven 2 site is not accepted by w3c validator:
> http://validator.w3.org/check?verbose=1&uri=http%3A//maven.apache.org/maven2/project-info.html

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org