Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1.4
-
None
-
None
-
Operating System: All
Platform: All
-
27456
Description
When trying to use the BetwixtTransformer you obtain the following results:
- If the serializer that ends the pipeline is <map:serialize type="xml"/>.
We get :
<?xml version="1.0" encoding="ISO-8859-1" ?>
<page xmlns:xsp="http://apache.org/xsp" >
<example xmlns:betwixt="http://apache.org/cocoon/betwixt/1.0">
<?xml version="1.0" encoding="ISO-8859-1" ?>
....
- If the serializer that ends the pipeline is <map:serialize/>.
We get:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<page xmlns:xsp="http://apache.org/xsp">
<example xmlns:betwixt="http://apache.org/cocoon/betwixt/1.0">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
...
In any case. It's wrong. We get twice what should appear at the start of the
document.
see thread: http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=107676749217407&w=2
- If the serializer that ends the pipeline is <map:serialize type="xml"/>.
We get :
<?xml version="1.0" encoding="ISO-8859-1" ?>
<page xmlns:xsp="http://apache.org/xsp" >
<example xmlns:betwixt="http://apache.org/cocoon/betwixt/1.0">
<?xml version="1.0" encoding="ISO-8859-1" ?>
....
- If the serializer that ends the pipeline is <map:serialize/>.
We get:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<page xmlns:xsp="http://apache.org/xsp">
<example xmlns:betwixt="http://apache.org/cocoon/betwixt/1.0">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
...
In any case. It's wrong. We get twice what should appear at the start of the
document.
see thread: http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=107676749217407&w=2