Ouch!

We'll take a look at it.

Note, I'm on vacation at the moment so non-urgent problems are going on a queue.

Michael Kay
Saxonica

On 26 May 2013, at 19:48, Gunther Rademacher wrote:

During serialization of the result of this XQuery,
 
    declare option saxon:output "method=xhtml";
    <html xmlns="http://www.w3.org/1999/xhtml">
      <head>
        <xhtml:meta name="generator" content="Generator" xmlns:xhtml="http://www.w3.org/1999/xhtml"/>
      </head>
    </html>
 
a Content-Type meta element is implicity inserted. This however causes the xmlns
node of the constructed meta tag to move away from the tag boundaries:
 
    <?xml version="1.0" encoding="UTF-8"?><html xmlns="http://www.w3.org/1999/xhtml">
       <head>
          <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> xmlns:xhtml="http://www.w3.org/1999/xhtml"
          <xhtml:meta content="Generator" name="generator" />
       </head>
    </html>
 
Tested with Saxon-HE 9.5.0.2, but behaves the same with 9.4.0.7.
 
Best regards
Gunther
 
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
saxon-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/saxon-help