cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject XHTML issues
Date Fri, 09 Jan 2004 17:05:41 GMT

I'm having some really strange problems with the 
transformation of XHTML. It seems something's going 
wrong with the DOCTYPE definition (because it works without).

The xhtml document looks like:

<?xml version="1.0" encoding="utf-8" ?>

Strict//EN" "">
<html xmlns="">

If I load it (FileGenerator) and directly serialize (xml) it, the output is:

<?xml version="1.0" encoding="ISO-8859-1"?>
Strict//EN" ""<!--
================== Imported Names ====================================--><!-- 
media type, as per [RFC2045] --><!-- comma-separated list of media types, as 
per [RFC2045] --><!-- a character encoding, as per [RFC2045] --><!-- a space 
separated list of character encodings, as per [RFC2045] --><!-- a language 
code, as per [RFC3066] --><!-- a single character, as per section 2.2 of 
[XML] --><!-- one or more digits --><!-- space-separated list of link types --
><!-- single or comma-separated list of media descriptors --><!-- a Uniform 
Resource Identifier, see [RFC2396] --><!-- a space separated list of Uniform 
Resource Identifiers --><!-- date and time information. ISO date format --><!--
 script expression --><!-- style sheet data --><!-- used for titles etc. --><!-
- nn for pixels or nn% for percentage length --><!-- pixel, percentage, or 
relative --><!-- integer representing length in pixels --><!-- these are used

for image maps --><!-- comma separated list of lengths --><!--
=================== Generic Attributes ===============================--><!-- 
core attributes common to most elements
  id       document-wide unique id
  class    space separated list of classes
  style    associated style info
  title    advisory title/amplification
--><!-- internationalization attributes
  lang        language code (backwards compatible)

  ........... (I SKIP MANY LINES)

  is for headers, td for data and for cells acting as both -->>
<html xmlns="">

Everyting is messed up with the the doctype file...
It also seems to create problems with XSLTransformations.

So, how can I go around this?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message