You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Thorsten Scherler <th...@juntadeandalucia.es> on 2008/10/01 13:12:40 UTC
Re: [jira] Commented: (FOR-1118) Dispatcher 1.0 - towards a stable
version
On Wed, 2008-10-01 at 04:09 -0700, Thorsten Scherler (JIRA) wrote:
> [ https://issues.apache.org/jira/browse/FOR-1118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12636000#action_12636000 ]
...
>
> At the first look that seems to be the same but one important change is:
> <forrest:content xmlns:forrest="http://apache.org/forrest/templates/2.0">
> in the cocooon env we are eating the xmlns.
>
> That is really weird since the code supposed to use the same time the same stax implementation (woodstox).
somebody has an idea why that is happening?
salu2
--
Thorsten Scherler thorsten.at.apache.org
Open Source Java consulting, training and solutions
Re: [jira] Commented: (FOR-1118) Dispatcher 1.0 - towards a stable
version
Posted by Thorsten Scherler <th...@juntadeandalucia.es>.
On Wed, 2008-10-01 at 13:52 +0200, Thorsten Scherler wrote:
> On Wed, 2008-10-01 at 07:28 -0400, Tim Williams wrote:
> > On Wed, Oct 1, 2008 at 7:12 AM, Thorsten Scherler
> > <th...@juntadeandalucia.es> wrote:
> > > On Wed, 2008-10-01 at 04:09 -0700, Thorsten Scherler (JIRA) wrote:
> > >> [ https://issues.apache.org/jira/browse/FOR-1118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12636000#action_12636000 ]
> > > ...
> > >>
> > >> At the first look that seems to be the same but one important change is:
> > >> <forrest:content xmlns:forrest="http://apache.org/forrest/templates/2.0">
> > >> in the cocooon env we are eating the xmlns.
> > >>
> > >> That is really weird since the code supposed to use the same time the same stax implementation (woodstox).
> > >
> > > somebody has an idea why that is happening?
> >
> > Not really, but have you tried to output the actual implementation
> > class name for the TransformerFactory to see if you might be getting
> > different implementations in each runtime environment?
>
> Actually in this stage there is no transformer involved but
> inputFactory = XMLInputFactory.newInstance();
> outputFactory = XMLOutputFactory.newInstance();
> eventFactory = XMLEventFactory.newInstance();
>
> but I will see whether they are the same.
writer WstxEventWriter (id=51)
mWriter SimpleNsStreamWriter (id=87)
mWstxWriter SimpleNsStreamWriter (id=87)
allocator DefaultEventAllocator (id=33)
reader ValidatingStreamReader (id=59)
there is no obvious difference.
:(
salu2
> Cheers Tim.
>
> salu2
> >
> > --tim
--
Thorsten Scherler thorsten.at.apache.org
Open Source Java consulting, training and solutions
Re: [jira] Commented: (FOR-1118) Dispatcher 1.0 - towards a stable
version
Posted by Thorsten Scherler <th...@juntadeandalucia.es>.
On Wed, 2008-10-01 at 07:28 -0400, Tim Williams wrote:
> On Wed, Oct 1, 2008 at 7:12 AM, Thorsten Scherler
> <th...@juntadeandalucia.es> wrote:
> > On Wed, 2008-10-01 at 04:09 -0700, Thorsten Scherler (JIRA) wrote:
> >> [ https://issues.apache.org/jira/browse/FOR-1118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12636000#action_12636000 ]
> > ...
> >>
> >> At the first look that seems to be the same but one important change is:
> >> <forrest:content xmlns:forrest="http://apache.org/forrest/templates/2.0">
> >> in the cocooon env we are eating the xmlns.
> >>
> >> That is really weird since the code supposed to use the same time the same stax implementation (woodstox).
> >
> > somebody has an idea why that is happening?
>
> Not really, but have you tried to output the actual implementation
> class name for the TransformerFactory to see if you might be getting
> different implementations in each runtime environment?
Actually in this stage there is no transformer involved but
inputFactory = XMLInputFactory.newInstance();
outputFactory = XMLOutputFactory.newInstance();
eventFactory = XMLEventFactory.newInstance();
but I will see whether they are the same.
Cheers Tim.
salu2
>
> --tim
--
Thorsten Scherler thorsten.at.apache.org
Open Source Java consulting, training and solutions
Re: [jira] Commented: (FOR-1118) Dispatcher 1.0 - towards a stable version
Posted by Tim Williams <wi...@gmail.com>.
On Wed, Oct 1, 2008 at 7:12 AM, Thorsten Scherler
<th...@juntadeandalucia.es> wrote:
> On Wed, 2008-10-01 at 04:09 -0700, Thorsten Scherler (JIRA) wrote:
>> [ https://issues.apache.org/jira/browse/FOR-1118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12636000#action_12636000 ]
> ...
>>
>> At the first look that seems to be the same but one important change is:
>> <forrest:content xmlns:forrest="http://apache.org/forrest/templates/2.0">
>> in the cocooon env we are eating the xmlns.
>>
>> That is really weird since the code supposed to use the same time the same stax implementation (woodstox).
>
> somebody has an idea why that is happening?
Not really, but have you tried to output the actual implementation
class name for the TransformerFactory to see if you might be getting
different implementations in each runtime environment?
--tim
Re: [jira] Commented: (FOR-1118) Dispatcher 1.0 - towards a stable
version
Posted by Thorsten Scherler <th...@juntadeandalucia.es>.
On Wed, 2008-10-01 at 13:12 +0200, Thorsten Scherler wrote:
> On Wed, 2008-10-01 at 04:09 -0700, Thorsten Scherler (JIRA) wrote:
> > [ https://issues.apache.org/jira/browse/FOR-1118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12636000#action_12636000 ]
> ...
> >
> > At the first look that seems to be the same but one important change is:
> > <forrest:content xmlns:forrest="http://apache.org/forrest/templates/2.0">
> > in the cocooon env we are eating the xmlns.
> >
> > That is really weird since the code supposed to use the same time the same stax implementation (woodstox).
>
> somebody has an idea why that is happening?
ARGH!
It is the cocoon serializer. It seems to be a feature that it only
declares once the xmlns. Preferable in the root element. Meaning the
stax is not eating the xmlns but cocoon is.
See it if you request http://localhost:8888/resolve.contracts and look
at the source code. Bummer.
...now to find a fix for this.
salu2
>
> salu2
--
Thorsten Scherler thorsten.at.apache.org
Open Source Java consulting, training and solutions