I found that aggregating with an xhtml file puts a ">" before it when there is a doctype declaration in the file.

So, the following sitemap

<map:pipeline type="noncaching">
  <map:match pattern="**.aggreg">
    <map:aggregate element="fortesting">
      <map:part src="{1}"/>
    </map:aggregate>
    <map:serialize type="xml"/>
  </map:match>
</map:pipeline>

with a simple xhtml file like this

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
<html xml:lang="de" xmlns="http://www.w3.org/1999/xhtml";>
  <head>
    <title>Hallo</title>
  </head>
  <body>
    <p>Hi there!</p>
  </body>
</html>

will give the following result with a surplus ">" at the beginning of line 3.

<?xml version="1.0" encoding="UTF-8"?>
<fortesting>
><html xml:lang="de" xmlns="http://www.w3.org/1999/xhtml";>
  <head>
    <title>Hallo</title>
  </head>
  <body>
    <div>Hi there!</div>
  </body>
</html></fortesting>

Is this a bug or did I misconfigure something?
--
Volkmar W. Pogatzki


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to