bit of brotherly help...

2005-01-27 Thread beyaRecords
Hi, I was just wondering if there are any cocoon heads out there who have access to an I.E browser on an windows platform that can tell me whether my site is visible when accessed from the browser? http://www.beyarecords.com If you view source in the browser, you will see that I have placed an

RE: bit of brotherly help...

2005-01-27 Thread Conal Tuohy
Uzo: I was just wondering if there are any cocoon heads out there who have access to an I.E browser on an windows platform that can tell me whether my site is visible when accessed from the browser? http://www.beyarecords.com It does appear. So that means it the cinclude namespace is

Re: bit of brotherly help...

2005-01-27 Thread Jan Hoskens
beyaRecords wrote: Hi, I was just wondering if there are any cocoon heads out there who have access to an I.E browser on an windows platform that can tell me whether my site is visible when accessed from the browser? http://www.beyarecords.com Yes, I can see your site properly on my winxp with

Re: bit of brotherly help...

2005-01-27 Thread beyaRecords
On 27 Jan 2005, at 10:43, Jan Hoskens wrote: public class XMLSerializer extends org.apache.cocoon.serialization.XMLSerializer { public void endPrefixMapping(String prefix) throws SAXException { // do nothing } public void startPrefixMapping(String prefix, String uri)

Re: bit of brotherly help...

2005-01-27 Thread Leszek Gawron
beyaRecords wrote: On 27 Jan 2005, at 10:43, Jan Hoskens wrote: public class XMLSerializer extends org.apache.cocoon.serialization.XMLSerializer { public void endPrefixMapping(String prefix) throws SAXException { // do nothing } public void startPrefixMapping(String

Re: bit of brotherly help...

2005-01-27 Thread beyaRecords
On 27 Jan 2005, at 11:25, Leszek Gawron wrote: map:serializer logger=sitemap.serializer.myxml mime-type=text/xml name=myxml src=org.apache.cocoon.serialization.MyExtendedXMLSerializer/ and then: map:serialize type=myxml/ Leszek, got it! Thanks very much for that heads up. regards Uzo

Re: bit of brotherly help...

2005-01-27 Thread Jan Hoskens
FYI: I use this declaration for my xhtml serialization: map:serializer logger=sitemap.serializer.xhtml mime-type=text/html; charset=utf-8 name=xhtml pool-grow=2 pool-max=64 pool-min=10 src=org.mycompany.cocoon.serialization.XMLSerializer doctype-public-//W3C//DTD XHTML 1.0

Re: bit of brotherly help...

2005-01-27 Thread beyaRecords
On 27 Jan 2005, at 10:43, Jan Hoskens wrote: public class XMLSerializer extends org.apache.cocoon.serialization.XMLSerializer { public void endPrefixMapping(String prefix) throws SAXException { // do nothing } public void startPrefixMapping(String prefix, String uri)

Re: bit of brotherly help...

2005-01-27 Thread Jan Hoskens
Ok, I'll make it easy for you, just copy this: package org.yourcompany.cocoon.serialization; import org.xml.sax.SAXException; /** * A simple serializer, extending XMLSerializer to avoid getting namespaces in * output. (Thus only overriding prefixmapping methods to do nothing.) * * This is most

Re: bit of brotherly help...

2005-01-27 Thread beyaRecords
On 27 Jan 2005, at 12:23, Jan Hoskens wrote: Ok, I'll make it easy for you Jan, done and works a treat. many thanks. Uzo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: bit of brotherly help...

2005-01-27 Thread beyaRecords
On 27 Jan 2005, at 12:26, beyaRecords wrote: done and works a treat. many thanks. Ok, I have implemented the following: map:serializer logger=sitemap.serializer.xhtml mime-type=text/html name=myxml pool-grow=2 pool-max=64 pool-min=10 src=test.myXMLSerializer> doctype-public>-//W3C//DTD XHTML

Re: bit of brotherly help...

2005-01-27 Thread Jan Hoskens
At first sight, everything should be fine. A few things you can check: - your custom serializer doesn't contain any super.blablah(..) - the mentioned pipeline is the correct one and is called on its own. No other pipelines calling/including this one? Try altering the page to be sure it's the

Re: bit of brotherly help...

2005-01-27 Thread beyaRecords
On 27 Jan 2005, at 14:13, Jan Hoskens wrote: - your custom serializer doesn't contain any super.blablah(..) - the mentioned pipeline is the correct one and is called on its own. No other pipelines calling/including this one? Try altering the page to be sure it's the correct one. Check your logs

Re: bit of brotherly help...

2005-01-27 Thread Jan Hoskens
beyaRecords wrote: On 27 Jan 2005, at 14:13, Jan Hoskens wrote: - your custom serializer doesn't contain any super.blablah(..) - the mentioned pipeline is the correct one and is called on its own. No other pipelines calling/including this one? Try altering the page to be sure it's the correct

Re: bit of brotherly help...

2005-01-27 Thread beyaRecords
On 27 Jan 2005, at 15:25, Jan Hoskens wrote: What about a simple test with a page containing nothing but a few xmlns namespaces, running it through the html serializer once, check if there are xmlns (there should be) and then replace that serialzer by your customserializer and check again(there

Re: bit of brotherly help...

2005-01-27 Thread Jan Hoskens
beyaRecords wrote: On 27 Jan 2005, at 15:25, Jan Hoskens wrote: What about a simple test with a page containing nothing but a few xmlns namespaces, running it through the html serializer once, check if there are xmlns (there should be) and then replace that serialzer by your customserializer

RE: bit of brotherly help...

2005-01-27 Thread Conal Tuohy
Uzo wrote: firstly i am running cocoon 2.1.6. My xslt file is specified top and bottom as follows: ?xml version=1.0 encoding=ISO-8859-1? xsl:stylesheet version=1.0 xmlns:cinclude=http://apache.org/cocoon/include/1.0;