- 
    Bug 
- 
    Resolution: Fixed
- 
     P4 P4
- 
    None
- 
        b75
- 
        Verified
                    /** <p id= > empty value </a> */
Should generate, something like:
Test.java:13: error: invalid name for anchor: ""
* <p id= > empty value </a>
^
Test.java:13: error: unexpected end tag: </a>
* <p id= > empty value </a>
^
Instead it generates:
Test.java:13: error: invalid name for anchor: ""
* <p id= > empty value </a>
^
Note: the implementation assumes illegal attributes are always for an anchor, so
the message is as implemented, but not necessarily the most descriptive.
/** <p> no end required </a> */
Should generate:
Test.java:14: error: unexpected end tag: </a>
* <p> no end required </a>
^
But goes undetected. The endtag appears to be associated to the preceding
tag for which no end-tag is required.
/** <p> end allowed </p> </a> */
Correctly generates:
Test.java:15: error: unexpected end tag: </a>
* <p> no end required </p></a>
^
            
Should generate, something like:
Test.java:13: error: invalid name for anchor: ""
* <p id= > empty value </a>
^
Test.java:13: error: unexpected end tag: </a>
* <p id= > empty value </a>
^
Instead it generates:
Test.java:13: error: invalid name for anchor: ""
* <p id= > empty value </a>
^
Note: the implementation assumes illegal attributes are always for an anchor, so
the message is as implemented, but not necessarily the most descriptive.
/** <p> no end required </a> */
Should generate:
Test.java:14: error: unexpected end tag: </a>
* <p> no end required </a>
^
But goes undetected. The endtag appears to be associated to the preceding
tag for which no end-tag is required.
/** <p> end allowed </p> </a> */
Correctly generates:
Test.java:15: error: unexpected end tag: </a>
* <p> no end required </p></a>
^
- relates to
- 
                    JDK-8006263 Supplementary test cases needed for doclint -           
- Closed
 
-