[ 
https://issues.apache.org/jira/browse/DERBY-5359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13095891#comment-13095891
 ] 

Knut Anders Hatlen commented on DERBY-5359:
-------------------------------------------

If we rewrite the xsl files in the buildscript (and also if we check in 
modified xsl files), the xmlns="" attributes won't be inserted, so there 
shouldn't be any need for post-processing to remove them, I think.

It is true that only one of the files inserts an html element, and modifiying 
that file is enough to get xmlns added to the html element. The problem seems 
to be that other xsl files insert other elements into the same html file, and 
since there is no default namespace defined in the other xsl files, they will 
add xmlns="" to those elements to reset the namespace value.

> Missing xmlns attribute for html element in docs
> ------------------------------------------------
>
>                 Key: DERBY-5359
>                 URL: https://issues.apache.org/jira/browse/DERBY-5359
>             Project: Derby
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 10.9.0.0
>            Reporter: Knut Anders Hatlen
>            Assignee: Jayaram Subramanian
>         Attachments: derby5359.diff, html.zip
>
>
> The html files in the documentation that are declared as XHTML don't pass as 
> valid XHTML because the html elements lack the xmlns attribute. Examples:
> http://db.apache.org/derby/docs/dev/ref/index.html
> --> 
> http://validator.w3.org/check?uri=http%3A%2F%2Fdb.apache.org%2Fderby%2Fdocs%2Fdev%2Fref%2Findex.html
> http://db.apache.org/derby/docs/dev/ref/toc.html
> --> 
> http://validator.w3.org/check?uri=http%3A%2F%2Fdb.apache.org%2Fderby%2Fdocs%2Fdev%2Fref%2Ftoc.html
> http://db.apache.org/derby/docs/dev/ref/rrefcallprocedure.html
> --> 
> http://validator.w3.org/check?uri=http%3A%2F%2Fdb.apache.org%2Fderby%2Fdocs%2Fdev%2Fref%2Frrefcallprocedure.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to