You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Robert Liguori (JIRA)" <ji...@apache.org> on 2011/01/24 19:34:44 UTC

[jira] Created: (CXF-3283) Generated

do not have end tags.

Generated <p> do not have end tags.
-----------------------------------

                 Key: CXF-3283
                 URL: https://issues.apache.org/jira/browse/CXF-3283
             Project: CXF
          Issue Type: Improvement
    Affects Versions: 2.3.2
            Reporter: Robert Liguori
            Priority: Trivial


Generated <p> do not have end tags.

Use case: 
wsdl2java http://www.ignyte.com/webservices/ignyte.whatsshowing.webservice/moviefunctions.asmx?wsdl

Example for ArrayOfMovies.java:

/**
 * <p>Java class for ArrayOfMovie complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="ArrayOfMovie">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="Movie" type="{http://www.ignyte.com/whatsshowing}Movie" maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */


Recommendation is to add </p> end tags where appropriate.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-3283) Generated

do not have end tags.

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-3283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12985943#action_12985943 ] 

Andreas Veithen commented on CXF-3283:
--------------------------------------

By definition, Javadoc is HTML 4, so having <p> tags without corresponding end tags is perfectly valid. By the way, if you look at the Javadoc of the JRE, you can see that omitting </p> is the rule.

> Generated <p> do not have end tags.
> -----------------------------------
>
>                 Key: CXF-3283
>                 URL: https://issues.apache.org/jira/browse/CXF-3283
>             Project: CXF
>          Issue Type: Improvement
>    Affects Versions: 2.3.2
>            Reporter: Robert Liguori
>            Priority: Trivial
>
> Generated <p> do not have end tags.
> Use case: 
> wsdl2java http://www.ignyte.com/webservices/ignyte.whatsshowing.webservice/moviefunctions.asmx?wsdl
> Example for ArrayOfMovies.java:
> /**
>  * <p>Java class for ArrayOfMovie complex type.
>  * 
>  * <p>The following schema fragment specifies the expected content contained within this class.
>  * 
>  * <pre>
>  * &lt;complexType name="ArrayOfMovie">
>  *   &lt;complexContent>
>  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
>  *       &lt;sequence>
>  *         &lt;element name="Movie" type="{http://www.ignyte.com/whatsshowing}Movie" maxOccurs="unbounded" minOccurs="0"/>
>  *       &lt;/sequence>
>  *     &lt;/restriction>
>  *   &lt;/complexContent>
>  * &lt;/complexType>
>  * </pre>
>  * 
>  * 
>  */
> Recommendation is to add </p> end tags where appropriate.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CXF-3283) Generated

do not have end tags.

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-3283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-3283.
------------------------------

       Resolution: Invalid
    Fix Version/s: Invalid

> Generated <p> do not have end tags.
> -----------------------------------
>
>                 Key: CXF-3283
>                 URL: https://issues.apache.org/jira/browse/CXF-3283
>             Project: CXF
>          Issue Type: Improvement
>    Affects Versions: 2.3.2
>            Reporter: Robert Liguori
>            Priority: Trivial
>             Fix For: Invalid
>
>
> Generated <p> do not have end tags.
> Use case: 
> wsdl2java http://www.ignyte.com/webservices/ignyte.whatsshowing.webservice/moviefunctions.asmx?wsdl
> Example for ArrayOfMovies.java:
> /**
>  * <p>Java class for ArrayOfMovie complex type.
>  * 
>  * <p>The following schema fragment specifies the expected content contained within this class.
>  * 
>  * <pre>
>  * &lt;complexType name="ArrayOfMovie">
>  *   &lt;complexContent>
>  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
>  *       &lt;sequence>
>  *         &lt;element name="Movie" type="{http://www.ignyte.com/whatsshowing}Movie" maxOccurs="unbounded" minOccurs="0"/>
>  *       &lt;/sequence>
>  *     &lt;/restriction>
>  *   &lt;/complexContent>
>  * &lt;/complexType>
>  * </pre>
>  * 
>  * 
>  */
> Recommendation is to add </p> end tags where appropriate.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-3283) Generated

do not have end tags.

Posted by "Robert Liguori (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-3283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12985957#action_12985957 ] 

Robert Liguori commented on CXF-3283:
-------------------------------------

Looks like I should run this stuff by the forum before opening up the issues.

I was actually thinking best practices in closing tags, as is done with XHTML.

But if HTML 4 doesn't require it, I guess this isn't an issue, and can be marked as invalid.


> Generated <p> do not have end tags.
> -----------------------------------
>
>                 Key: CXF-3283
>                 URL: https://issues.apache.org/jira/browse/CXF-3283
>             Project: CXF
>          Issue Type: Improvement
>    Affects Versions: 2.3.2
>            Reporter: Robert Liguori
>            Priority: Trivial
>
> Generated <p> do not have end tags.
> Use case: 
> wsdl2java http://www.ignyte.com/webservices/ignyte.whatsshowing.webservice/moviefunctions.asmx?wsdl
> Example for ArrayOfMovies.java:
> /**
>  * <p>Java class for ArrayOfMovie complex type.
>  * 
>  * <p>The following schema fragment specifies the expected content contained within this class.
>  * 
>  * <pre>
>  * &lt;complexType name="ArrayOfMovie">
>  *   &lt;complexContent>
>  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
>  *       &lt;sequence>
>  *         &lt;element name="Movie" type="{http://www.ignyte.com/whatsshowing}Movie" maxOccurs="unbounded" minOccurs="0"/>
>  *       &lt;/sequence>
>  *     &lt;/restriction>
>  *   &lt;/complexContent>
>  * &lt;/complexType>
>  * </pre>
>  * 
>  * 
>  */
> Recommendation is to add </p> end tags where appropriate.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.