You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Martin Makundi <ma...@koodaripalvelut.com> on 2012/12/15 06:02:33 UTC

Illegal utf characters in ajax xml response

Hi!

Is there a setting/interceptor/filter that can be applied to filter out
illegal utf characters from AjaxRequestTarget response?

http://blog.mark-mclaren.info/2007/02/invalid-xml-characters-when-valid-utf8_5873.html

Specifically wicket 1.4.x

**
Martin

Re: Illegal utf characters in ajax xml response

Posted by Martin Makundi <ma...@koodaripalvelut.com>.
> What are conditions when you want to plug it ?

I know a certain ajax response might contain illegal characters?
Though it might be easier just to filter the known contents.

**
Martin
>
>
> On Wed, Dec 19, 2012 at 12:47 PM, Martin Makundi <
> martin.makundi@koodaripalvelut.com> wrote:
>
>> Is there a way to plug it only for particular ajaxes in current 1.4.x
>> stack?
>>
>> 2012/12/19 Martin Grigorov <mg...@apache.org>:
>> > Yes, the performance is what stops me to apply it by default for the Ajax
>> > responses.
>> > The application developer needs to decide whether their app can include
>> > such invalid XML characters in the Ajax responses.
>> >
>> >
>> > On Wed, Dec 19, 2012 at 12:34 PM, Martin Makundi <
>> > martin.makundi@koodaripalvelut.com> wrote:
>> >
>> >> I wonder if it is performance-wise best place to have it as a
>> wrap-it-all?
>> >>
>> >> 2012/12/19 Martin Grigorov <mg...@apache.org>:
>> >> > I think it is a good idea to have this filter in Wicket.
>> >> > Each application will decide whether to use it or not.
>> >> >
>> >> >
>> >> > On Wed, Dec 19, 2012 at 10:31 AM, Martin Grigorov <
>> mgrigorov@apache.org
>> >> >wrote:
>> >> >
>> >> >>
>> >> >>
>> >>
>> http://blog.mark-mclaren.info/2007/02/invalid-xml-characters-when-valid-utf8_5873.html
>> >> >>
>> >> >>
>> >> >> On Wed, Dec 19, 2012 at 4:34 AM, Martin Makundi <
>> >> >> martin.makundi@koodaripalvelut.com> wrote:
>> >> >>
>> >> >>> xb also
>> >> >>>
>> >> >>> 2012/12/19 Michael Mosmann <mi...@mosmann.de>:
>> >> >>> > Am 15.12.2012 06:22, schrieb Martin Makundi:
>> >> >>> >
>> >> >>> > We could use AjaxSelfUpdatingTimerBehavior to iterate over most
>> >> >>> characters
>> >> >>> > and see where it fails (which could be easily detected)..
>> >> >>> >
>> >> >>> > As today i only know of 0x1a as a bad one.
>> >> >>> >
>> >> >>> > Michael Mosmann
>> >> >>> >
>> >> >>> >
>> >> >>> >> OK, is possibly trivial:
>> >> >>> >>
>> >> >>> >>        getRequestCycleSettings().addResponseFilter(new
>> >> >>> IResponseFilter() {
>> >> >>> >>          @Override
>> >> >>> >>          public AppendingStringBuffer
>> filter(AppendingStringBuffer
>> >> >>> >> responseBuffer) {
>> >> >>> >>            return responseBuffer; TODO if starts with xml strip
>> >> illegal
>> >> >>> >> xml
>> >> >>> >> characters?
>> >> >>> >>          }
>> >> >>> >>        });
>> >> >>> >>
>> >> >>> >>
>> >> >>> >> ?
>> >> >>> >>
>> >> >>> >> 2012/12/15 Martin Makundi <ma...@koodaripalvelut.com>
>> >> >>> >>
>> >> >>> >>> Can you point me to an example for this?
>> >> >>> >>>
>> >> >>> >>>
>> >> >>> >>> 2012/12/15 Martin Grigorov <mg...@apache.org>
>> >> >>> >>>
>> >> >>> >>>> org.apache.wicket.response.filter.IResponseFilter is applied to
>> >> both
>> >> >>> >>>> Ajax
>> >> >>> >>>> and normal responses.
>> >> >>> >>>>
>> >> >>> >>>>
>> >> >>> >>>> On Sat, Dec 15, 2012 at 7:02 AM, Martin Makundi <
>> >> >>> >>>> martin.makundi@koodaripalvelut.com> wrote:
>> >> >>> >>>>
>> >> >>> >>>>> Hi!
>> >> >>> >>>>>
>> >> >>> >>>>> Is there a setting/interceptor/filter that can be applied to
>> >> filter
>> >> >>> out
>> >> >>> >>>>> illegal utf characters from AjaxRequestTarget response?
>> >> >>> >>>>>
>> >> >>> >>>>>
>> >> >>> >>>>>
>> >> >>> >>>>
>> >> >>> >>>>
>> >> >>>
>> >>
>> http://blog.mark-mclaren.info/2007/02/invalid-xml-characters-when-valid-utf8_5873.html
>> >> >>> >>>>>
>> >> >>> >>>>> Specifically wicket 1.4.x
>> >> >>> >>>>>
>> >> >>> >>>>> **
>> >> >>> >>>>> Martin
>> >> >>> >>>>>
>> >> >>> >>>>
>> >> >>> >>>>
>> >> >>> >>>> --
>> >> >>> >>>> Martin Grigorov
>> >> >>> >>>> jWeekend
>> >> >>> >>>> Training, Consulting, Development
>> >> >>> >>>> http://jWeekend.com <http://jweekend.com/>
>> >> >>> >>>>
>> >> >>> >>>
>> >> >>> >
>> >> >>> >
>> >> >>> >
>> ---------------------------------------------------------------------
>> >> >>> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> >> >>> > For additional commands, e-mail: users-help@wicket.apache.org
>> >> >>> >
>> >> >>>
>> >> >>>
>> ---------------------------------------------------------------------
>> >> >>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> >> >>> For additional commands, e-mail: users-help@wicket.apache.org
>> >> >>>
>> >> >>>
>> >> >>
>> >> >>
>> >> >> --
>> >> >> Martin Grigorov
>> >> >> jWeekend
>> >> >> Training, Consulting, Development
>> >> >> http://jWeekend.com <http://jweekend.com/>
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >> > --
>> >> > Martin Grigorov
>> >> > jWeekend
>> >> > Training, Consulting, Development
>> >> > http://jWeekend.com <http://jweekend.com/>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> >> For additional commands, e-mail: users-help@wicket.apache.org
>> >>
>> >>
>> >
>> >
>> > --
>> > Martin Grigorov
>> > jWeekend
>> > Training, Consulting, Development
>> > http://jWeekend.com <http://jweekend.com/>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
>
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com <http://jweekend.com/>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Illegal utf characters in ajax xml response

Posted by Martin Grigorov <mg...@apache.org>.
What are conditions when you want to plug it ?


On Wed, Dec 19, 2012 at 12:47 PM, Martin Makundi <
martin.makundi@koodaripalvelut.com> wrote:

> Is there a way to plug it only for particular ajaxes in current 1.4.x
> stack?
>
> 2012/12/19 Martin Grigorov <mg...@apache.org>:
> > Yes, the performance is what stops me to apply it by default for the Ajax
> > responses.
> > The application developer needs to decide whether their app can include
> > such invalid XML characters in the Ajax responses.
> >
> >
> > On Wed, Dec 19, 2012 at 12:34 PM, Martin Makundi <
> > martin.makundi@koodaripalvelut.com> wrote:
> >
> >> I wonder if it is performance-wise best place to have it as a
> wrap-it-all?
> >>
> >> 2012/12/19 Martin Grigorov <mg...@apache.org>:
> >> > I think it is a good idea to have this filter in Wicket.
> >> > Each application will decide whether to use it or not.
> >> >
> >> >
> >> > On Wed, Dec 19, 2012 at 10:31 AM, Martin Grigorov <
> mgrigorov@apache.org
> >> >wrote:
> >> >
> >> >>
> >> >>
> >>
> http://blog.mark-mclaren.info/2007/02/invalid-xml-characters-when-valid-utf8_5873.html
> >> >>
> >> >>
> >> >> On Wed, Dec 19, 2012 at 4:34 AM, Martin Makundi <
> >> >> martin.makundi@koodaripalvelut.com> wrote:
> >> >>
> >> >>> xb also
> >> >>>
> >> >>> 2012/12/19 Michael Mosmann <mi...@mosmann.de>:
> >> >>> > Am 15.12.2012 06:22, schrieb Martin Makundi:
> >> >>> >
> >> >>> > We could use AjaxSelfUpdatingTimerBehavior to iterate over most
> >> >>> characters
> >> >>> > and see where it fails (which could be easily detected)..
> >> >>> >
> >> >>> > As today i only know of 0x1a as a bad one.
> >> >>> >
> >> >>> > Michael Mosmann
> >> >>> >
> >> >>> >
> >> >>> >> OK, is possibly trivial:
> >> >>> >>
> >> >>> >>        getRequestCycleSettings().addResponseFilter(new
> >> >>> IResponseFilter() {
> >> >>> >>          @Override
> >> >>> >>          public AppendingStringBuffer
> filter(AppendingStringBuffer
> >> >>> >> responseBuffer) {
> >> >>> >>            return responseBuffer; TODO if starts with xml strip
> >> illegal
> >> >>> >> xml
> >> >>> >> characters?
> >> >>> >>          }
> >> >>> >>        });
> >> >>> >>
> >> >>> >>
> >> >>> >> ?
> >> >>> >>
> >> >>> >> 2012/12/15 Martin Makundi <ma...@koodaripalvelut.com>
> >> >>> >>
> >> >>> >>> Can you point me to an example for this?
> >> >>> >>>
> >> >>> >>>
> >> >>> >>> 2012/12/15 Martin Grigorov <mg...@apache.org>
> >> >>> >>>
> >> >>> >>>> org.apache.wicket.response.filter.IResponseFilter is applied to
> >> both
> >> >>> >>>> Ajax
> >> >>> >>>> and normal responses.
> >> >>> >>>>
> >> >>> >>>>
> >> >>> >>>> On Sat, Dec 15, 2012 at 7:02 AM, Martin Makundi <
> >> >>> >>>> martin.makundi@koodaripalvelut.com> wrote:
> >> >>> >>>>
> >> >>> >>>>> Hi!
> >> >>> >>>>>
> >> >>> >>>>> Is there a setting/interceptor/filter that can be applied to
> >> filter
> >> >>> out
> >> >>> >>>>> illegal utf characters from AjaxRequestTarget response?
> >> >>> >>>>>
> >> >>> >>>>>
> >> >>> >>>>>
> >> >>> >>>>
> >> >>> >>>>
> >> >>>
> >>
> http://blog.mark-mclaren.info/2007/02/invalid-xml-characters-when-valid-utf8_5873.html
> >> >>> >>>>>
> >> >>> >>>>> Specifically wicket 1.4.x
> >> >>> >>>>>
> >> >>> >>>>> **
> >> >>> >>>>> Martin
> >> >>> >>>>>
> >> >>> >>>>
> >> >>> >>>>
> >> >>> >>>> --
> >> >>> >>>> Martin Grigorov
> >> >>> >>>> jWeekend
> >> >>> >>>> Training, Consulting, Development
> >> >>> >>>> http://jWeekend.com <http://jweekend.com/>
> >> >>> >>>>
> >> >>> >>>
> >> >>> >
> >> >>> >
> >> >>> >
> ---------------------------------------------------------------------
> >> >>> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> >> >>> > For additional commands, e-mail: users-help@wicket.apache.org
> >> >>> >
> >> >>>
> >> >>>
> ---------------------------------------------------------------------
> >> >>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> >> >>> For additional commands, e-mail: users-help@wicket.apache.org
> >> >>>
> >> >>>
> >> >>
> >> >>
> >> >> --
> >> >> Martin Grigorov
> >> >> jWeekend
> >> >> Training, Consulting, Development
> >> >> http://jWeekend.com <http://jweekend.com/>
> >> >>
> >> >>
> >> >
> >> >
> >> > --
> >> > Martin Grigorov
> >> > jWeekend
> >> > Training, Consulting, Development
> >> > http://jWeekend.com <http://jweekend.com/>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> >> For additional commands, e-mail: users-help@wicket.apache.org
> >>
> >>
> >
> >
> > --
> > Martin Grigorov
> > jWeekend
> > Training, Consulting, Development
> > http://jWeekend.com <http://jweekend.com/>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>


-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>

Re: Illegal utf characters in ajax xml response

Posted by Ernesto Reinaldo Barreiro <re...@gmail.com>.
Hi,

Maybe

1-have an URL decorator (IAjaxCallDecorator) that add some parameter that
marks a particular AJAX request as "invalid XML characters" AJAX.
2-Override AjaxRequestTarget with a new AjaxResponse that does the
filtering if this parameter is on request (e.g. by
overriding getContents()).




On Wed, Dec 19, 2012 at 11:47 AM, Martin Makundi <
martin.makundi@koodaripalvelut.com> wrote:

> Is there a way to plug it only for particular ajaxes in current 1.4.x
> stack?
>
> 2012/12/19 Martin Grigorov <mg...@apache.org>:
> > Yes, the performance is what stops me to apply it by default for the Ajax
> > responses.
> > The application developer needs to decide whether their app can include
> > such invalid XML characters in the Ajax responses.
> >
> >
> > On Wed, Dec 19, 2012 at 12:34 PM, Martin Makundi <
> > martin.makundi@koodaripalvelut.com> wrote:
> >
> >> I wonder if it is performance-wise best place to have it as a
> wrap-it-all?
> >>
> >> 2012/12/19 Martin Grigorov <mg...@apache.org>:
> >> > I think it is a good idea to have this filter in Wicket.
> >> > Each application will decide whether to use it or not.
> >> >
> >> >
> >> > On Wed, Dec 19, 2012 at 10:31 AM, Martin Grigorov <
> mgrigorov@apache.org
> >> >wrote:
> >> >
> >> >>
> >> >>
> >>
> http://blog.mark-mclaren.info/2007/02/invalid-xml-characters-when-valid-utf8_5873.html
> >> >>
> >> >>
> >> >> On Wed, Dec 19, 2012 at 4:34 AM, Martin Makundi <
> >> >> martin.makundi@koodaripalvelut.com> wrote:
> >> >>
> >> >>> xb also
> >> >>>
> >> >>> 2012/12/19 Michael Mosmann <mi...@mosmann.de>:
> >> >>> > Am 15.12.2012 06:22, schrieb Martin Makundi:
> >> >>> >
> >> >>> > We could use AjaxSelfUpdatingTimerBehavior to iterate over most
> >> >>> characters
> >> >>> > and see where it fails (which could be easily detected)..
> >> >>> >
> >> >>> > As today i only know of 0x1a as a bad one.
> >> >>> >
> >> >>> > Michael Mosmann
> >> >>> >
> >> >>> >
> >> >>> >> OK, is possibly trivial:
> >> >>> >>
> >> >>> >>        getRequestCycleSettings().addResponseFilter(new
> >> >>> IResponseFilter() {
> >> >>> >>          @Override
> >> >>> >>          public AppendingStringBuffer
> filter(AppendingStringBuffer
> >> >>> >> responseBuffer) {
> >> >>> >>            return responseBuffer; TODO if starts with xml strip
> >> illegal
> >> >>> >> xml
> >> >>> >> characters?
> >> >>> >>          }
> >> >>> >>        });
> >> >>> >>
> >> >>> >>
> >> >>> >> ?
> >> >>> >>
> >> >>> >> 2012/12/15 Martin Makundi <ma...@koodaripalvelut.com>
> >> >>> >>
> >> >>> >>> Can you point me to an example for this?
> >> >>> >>>
> >> >>> >>>
> >> >>> >>> 2012/12/15 Martin Grigorov <mg...@apache.org>
> >> >>> >>>
> >> >>> >>>> org.apache.wicket.response.filter.IResponseFilter is applied to
> >> both
> >> >>> >>>> Ajax
> >> >>> >>>> and normal responses.
> >> >>> >>>>
> >> >>> >>>>
> >> >>> >>>> On Sat, Dec 15, 2012 at 7:02 AM, Martin Makundi <
> >> >>> >>>> martin.makundi@koodaripalvelut.com> wrote:
> >> >>> >>>>
> >> >>> >>>>> Hi!
> >> >>> >>>>>
> >> >>> >>>>> Is there a setting/interceptor/filter that can be applied to
> >> filter
> >> >>> out
> >> >>> >>>>> illegal utf characters from AjaxRequestTarget response?
> >> >>> >>>>>
> >> >>> >>>>>
> >> >>> >>>>>
> >> >>> >>>>
> >> >>> >>>>
> >> >>>
> >>
> http://blog.mark-mclaren.info/2007/02/invalid-xml-characters-when-valid-utf8_5873.html
> >> >>> >>>>>
> >> >>> >>>>> Specifically wicket 1.4.x
> >> >>> >>>>>
> >> >>> >>>>> **
> >> >>> >>>>> Martin
> >> >>> >>>>>
> >> >>> >>>>
> >> >>> >>>>
> >> >>> >>>> --
> >> >>> >>>> Martin Grigorov
> >> >>> >>>> jWeekend
> >> >>> >>>> Training, Consulting, Development
> >> >>> >>>> http://jWeekend.com <http://jweekend.com/>
> >> >>> >>>>
> >> >>> >>>
> >> >>> >
> >> >>> >
> >> >>> >
> ---------------------------------------------------------------------
> >> >>> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> >> >>> > For additional commands, e-mail: users-help@wicket.apache.org
> >> >>> >
> >> >>>
> >> >>>
> ---------------------------------------------------------------------
> >> >>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> >> >>> For additional commands, e-mail: users-help@wicket.apache.org
> >> >>>
> >> >>>
> >> >>
> >> >>
> >> >> --
> >> >> Martin Grigorov
> >> >> jWeekend
> >> >> Training, Consulting, Development
> >> >> http://jWeekend.com <http://jweekend.com/>
> >> >>
> >> >>
> >> >
> >> >
> >> > --
> >> > Martin Grigorov
> >> > jWeekend
> >> > Training, Consulting, Development
> >> > http://jWeekend.com <http://jweekend.com/>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> >> For additional commands, e-mail: users-help@wicket.apache.org
> >>
> >>
> >
> >
> > --
> > Martin Grigorov
> > jWeekend
> > Training, Consulting, Development
> > http://jWeekend.com <http://jweekend.com/>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>


-- 
Regards - Ernesto Reinaldo Barreiro
Antilia Soft
http://antiliasoft.com/ <http://antiliasoft.com/antilia>

Re: Illegal utf characters in ajax xml response

Posted by Martin Makundi <ma...@koodaripalvelut.com>.
Is there a way to plug it only for particular ajaxes in current 1.4.x stack?

2012/12/19 Martin Grigorov <mg...@apache.org>:
> Yes, the performance is what stops me to apply it by default for the Ajax
> responses.
> The application developer needs to decide whether their app can include
> such invalid XML characters in the Ajax responses.
>
>
> On Wed, Dec 19, 2012 at 12:34 PM, Martin Makundi <
> martin.makundi@koodaripalvelut.com> wrote:
>
>> I wonder if it is performance-wise best place to have it as a wrap-it-all?
>>
>> 2012/12/19 Martin Grigorov <mg...@apache.org>:
>> > I think it is a good idea to have this filter in Wicket.
>> > Each application will decide whether to use it or not.
>> >
>> >
>> > On Wed, Dec 19, 2012 at 10:31 AM, Martin Grigorov <mgrigorov@apache.org
>> >wrote:
>> >
>> >>
>> >>
>> http://blog.mark-mclaren.info/2007/02/invalid-xml-characters-when-valid-utf8_5873.html
>> >>
>> >>
>> >> On Wed, Dec 19, 2012 at 4:34 AM, Martin Makundi <
>> >> martin.makundi@koodaripalvelut.com> wrote:
>> >>
>> >>> xb also
>> >>>
>> >>> 2012/12/19 Michael Mosmann <mi...@mosmann.de>:
>> >>> > Am 15.12.2012 06:22, schrieb Martin Makundi:
>> >>> >
>> >>> > We could use AjaxSelfUpdatingTimerBehavior to iterate over most
>> >>> characters
>> >>> > and see where it fails (which could be easily detected)..
>> >>> >
>> >>> > As today i only know of 0x1a as a bad one.
>> >>> >
>> >>> > Michael Mosmann
>> >>> >
>> >>> >
>> >>> >> OK, is possibly trivial:
>> >>> >>
>> >>> >>        getRequestCycleSettings().addResponseFilter(new
>> >>> IResponseFilter() {
>> >>> >>          @Override
>> >>> >>          public AppendingStringBuffer filter(AppendingStringBuffer
>> >>> >> responseBuffer) {
>> >>> >>            return responseBuffer; TODO if starts with xml strip
>> illegal
>> >>> >> xml
>> >>> >> characters?
>> >>> >>          }
>> >>> >>        });
>> >>> >>
>> >>> >>
>> >>> >> ?
>> >>> >>
>> >>> >> 2012/12/15 Martin Makundi <ma...@koodaripalvelut.com>
>> >>> >>
>> >>> >>> Can you point me to an example for this?
>> >>> >>>
>> >>> >>>
>> >>> >>> 2012/12/15 Martin Grigorov <mg...@apache.org>
>> >>> >>>
>> >>> >>>> org.apache.wicket.response.filter.IResponseFilter is applied to
>> both
>> >>> >>>> Ajax
>> >>> >>>> and normal responses.
>> >>> >>>>
>> >>> >>>>
>> >>> >>>> On Sat, Dec 15, 2012 at 7:02 AM, Martin Makundi <
>> >>> >>>> martin.makundi@koodaripalvelut.com> wrote:
>> >>> >>>>
>> >>> >>>>> Hi!
>> >>> >>>>>
>> >>> >>>>> Is there a setting/interceptor/filter that can be applied to
>> filter
>> >>> out
>> >>> >>>>> illegal utf characters from AjaxRequestTarget response?
>> >>> >>>>>
>> >>> >>>>>
>> >>> >>>>>
>> >>> >>>>
>> >>> >>>>
>> >>>
>> http://blog.mark-mclaren.info/2007/02/invalid-xml-characters-when-valid-utf8_5873.html
>> >>> >>>>>
>> >>> >>>>> Specifically wicket 1.4.x
>> >>> >>>>>
>> >>> >>>>> **
>> >>> >>>>> Martin
>> >>> >>>>>
>> >>> >>>>
>> >>> >>>>
>> >>> >>>> --
>> >>> >>>> Martin Grigorov
>> >>> >>>> jWeekend
>> >>> >>>> Training, Consulting, Development
>> >>> >>>> http://jWeekend.com <http://jweekend.com/>
>> >>> >>>>
>> >>> >>>
>> >>> >
>> >>> >
>> >>> > ---------------------------------------------------------------------
>> >>> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> >>> > For additional commands, e-mail: users-help@wicket.apache.org
>> >>> >
>> >>>
>> >>> ---------------------------------------------------------------------
>> >>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> >>> For additional commands, e-mail: users-help@wicket.apache.org
>> >>>
>> >>>
>> >>
>> >>
>> >> --
>> >> Martin Grigorov
>> >> jWeekend
>> >> Training, Consulting, Development
>> >> http://jWeekend.com <http://jweekend.com/>
>> >>
>> >>
>> >
>> >
>> > --
>> > Martin Grigorov
>> > jWeekend
>> > Training, Consulting, Development
>> > http://jWeekend.com <http://jweekend.com/>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
>
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com <http://jweekend.com/>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Illegal utf characters in ajax xml response

Posted by Martin Grigorov <mg...@apache.org>.
Yes, the performance is what stops me to apply it by default for the Ajax
responses.
The application developer needs to decide whether their app can include
such invalid XML characters in the Ajax responses.


On Wed, Dec 19, 2012 at 12:34 PM, Martin Makundi <
martin.makundi@koodaripalvelut.com> wrote:

> I wonder if it is performance-wise best place to have it as a wrap-it-all?
>
> 2012/12/19 Martin Grigorov <mg...@apache.org>:
> > I think it is a good idea to have this filter in Wicket.
> > Each application will decide whether to use it or not.
> >
> >
> > On Wed, Dec 19, 2012 at 10:31 AM, Martin Grigorov <mgrigorov@apache.org
> >wrote:
> >
> >>
> >>
> http://blog.mark-mclaren.info/2007/02/invalid-xml-characters-when-valid-utf8_5873.html
> >>
> >>
> >> On Wed, Dec 19, 2012 at 4:34 AM, Martin Makundi <
> >> martin.makundi@koodaripalvelut.com> wrote:
> >>
> >>> xb also
> >>>
> >>> 2012/12/19 Michael Mosmann <mi...@mosmann.de>:
> >>> > Am 15.12.2012 06:22, schrieb Martin Makundi:
> >>> >
> >>> > We could use AjaxSelfUpdatingTimerBehavior to iterate over most
> >>> characters
> >>> > and see where it fails (which could be easily detected)..
> >>> >
> >>> > As today i only know of 0x1a as a bad one.
> >>> >
> >>> > Michael Mosmann
> >>> >
> >>> >
> >>> >> OK, is possibly trivial:
> >>> >>
> >>> >>        getRequestCycleSettings().addResponseFilter(new
> >>> IResponseFilter() {
> >>> >>          @Override
> >>> >>          public AppendingStringBuffer filter(AppendingStringBuffer
> >>> >> responseBuffer) {
> >>> >>            return responseBuffer; TODO if starts with xml strip
> illegal
> >>> >> xml
> >>> >> characters?
> >>> >>          }
> >>> >>        });
> >>> >>
> >>> >>
> >>> >> ?
> >>> >>
> >>> >> 2012/12/15 Martin Makundi <ma...@koodaripalvelut.com>
> >>> >>
> >>> >>> Can you point me to an example for this?
> >>> >>>
> >>> >>>
> >>> >>> 2012/12/15 Martin Grigorov <mg...@apache.org>
> >>> >>>
> >>> >>>> org.apache.wicket.response.filter.IResponseFilter is applied to
> both
> >>> >>>> Ajax
> >>> >>>> and normal responses.
> >>> >>>>
> >>> >>>>
> >>> >>>> On Sat, Dec 15, 2012 at 7:02 AM, Martin Makundi <
> >>> >>>> martin.makundi@koodaripalvelut.com> wrote:
> >>> >>>>
> >>> >>>>> Hi!
> >>> >>>>>
> >>> >>>>> Is there a setting/interceptor/filter that can be applied to
> filter
> >>> out
> >>> >>>>> illegal utf characters from AjaxRequestTarget response?
> >>> >>>>>
> >>> >>>>>
> >>> >>>>>
> >>> >>>>
> >>> >>>>
> >>>
> http://blog.mark-mclaren.info/2007/02/invalid-xml-characters-when-valid-utf8_5873.html
> >>> >>>>>
> >>> >>>>> Specifically wicket 1.4.x
> >>> >>>>>
> >>> >>>>> **
> >>> >>>>> Martin
> >>> >>>>>
> >>> >>>>
> >>> >>>>
> >>> >>>> --
> >>> >>>> Martin Grigorov
> >>> >>>> jWeekend
> >>> >>>> Training, Consulting, Development
> >>> >>>> http://jWeekend.com <http://jweekend.com/>
> >>> >>>>
> >>> >>>
> >>> >
> >>> >
> >>> > ---------------------------------------------------------------------
> >>> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> >>> > For additional commands, e-mail: users-help@wicket.apache.org
> >>> >
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> >>> For additional commands, e-mail: users-help@wicket.apache.org
> >>>
> >>>
> >>
> >>
> >> --
> >> Martin Grigorov
> >> jWeekend
> >> Training, Consulting, Development
> >> http://jWeekend.com <http://jweekend.com/>
> >>
> >>
> >
> >
> > --
> > Martin Grigorov
> > jWeekend
> > Training, Consulting, Development
> > http://jWeekend.com <http://jweekend.com/>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>


-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>

Re: Illegal utf characters in ajax xml response

Posted by Martin Makundi <ma...@koodaripalvelut.com>.
I wonder if it is performance-wise best place to have it as a wrap-it-all?

2012/12/19 Martin Grigorov <mg...@apache.org>:
> I think it is a good idea to have this filter in Wicket.
> Each application will decide whether to use it or not.
>
>
> On Wed, Dec 19, 2012 at 10:31 AM, Martin Grigorov <mg...@apache.org>wrote:
>
>>
>> http://blog.mark-mclaren.info/2007/02/invalid-xml-characters-when-valid-utf8_5873.html
>>
>>
>> On Wed, Dec 19, 2012 at 4:34 AM, Martin Makundi <
>> martin.makundi@koodaripalvelut.com> wrote:
>>
>>> xb also
>>>
>>> 2012/12/19 Michael Mosmann <mi...@mosmann.de>:
>>> > Am 15.12.2012 06:22, schrieb Martin Makundi:
>>> >
>>> > We could use AjaxSelfUpdatingTimerBehavior to iterate over most
>>> characters
>>> > and see where it fails (which could be easily detected)..
>>> >
>>> > As today i only know of 0x1a as a bad one.
>>> >
>>> > Michael Mosmann
>>> >
>>> >
>>> >> OK, is possibly trivial:
>>> >>
>>> >>        getRequestCycleSettings().addResponseFilter(new
>>> IResponseFilter() {
>>> >>          @Override
>>> >>          public AppendingStringBuffer filter(AppendingStringBuffer
>>> >> responseBuffer) {
>>> >>            return responseBuffer; TODO if starts with xml strip illegal
>>> >> xml
>>> >> characters?
>>> >>          }
>>> >>        });
>>> >>
>>> >>
>>> >> ?
>>> >>
>>> >> 2012/12/15 Martin Makundi <ma...@koodaripalvelut.com>
>>> >>
>>> >>> Can you point me to an example for this?
>>> >>>
>>> >>>
>>> >>> 2012/12/15 Martin Grigorov <mg...@apache.org>
>>> >>>
>>> >>>> org.apache.wicket.response.filter.IResponseFilter is applied to both
>>> >>>> Ajax
>>> >>>> and normal responses.
>>> >>>>
>>> >>>>
>>> >>>> On Sat, Dec 15, 2012 at 7:02 AM, Martin Makundi <
>>> >>>> martin.makundi@koodaripalvelut.com> wrote:
>>> >>>>
>>> >>>>> Hi!
>>> >>>>>
>>> >>>>> Is there a setting/interceptor/filter that can be applied to filter
>>> out
>>> >>>>> illegal utf characters from AjaxRequestTarget response?
>>> >>>>>
>>> >>>>>
>>> >>>>>
>>> >>>>
>>> >>>>
>>> http://blog.mark-mclaren.info/2007/02/invalid-xml-characters-when-valid-utf8_5873.html
>>> >>>>>
>>> >>>>> Specifically wicket 1.4.x
>>> >>>>>
>>> >>>>> **
>>> >>>>> Martin
>>> >>>>>
>>> >>>>
>>> >>>>
>>> >>>> --
>>> >>>> Martin Grigorov
>>> >>>> jWeekend
>>> >>>> Training, Consulting, Development
>>> >>>> http://jWeekend.com <http://jweekend.com/>
>>> >>>>
>>> >>>
>>> >
>>> >
>>> > ---------------------------------------------------------------------
>>> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> > For additional commands, e-mail: users-help@wicket.apache.org
>>> >
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>>
>>
>> --
>> Martin Grigorov
>> jWeekend
>> Training, Consulting, Development
>> http://jWeekend.com <http://jweekend.com/>
>>
>>
>
>
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com <http://jweekend.com/>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Illegal utf characters in ajax xml response

Posted by Martin Grigorov <mg...@apache.org>.
I think it is a good idea to have this filter in Wicket.
Each application will decide whether to use it or not.


On Wed, Dec 19, 2012 at 10:31 AM, Martin Grigorov <mg...@apache.org>wrote:

>
> http://blog.mark-mclaren.info/2007/02/invalid-xml-characters-when-valid-utf8_5873.html
>
>
> On Wed, Dec 19, 2012 at 4:34 AM, Martin Makundi <
> martin.makundi@koodaripalvelut.com> wrote:
>
>> xb also
>>
>> 2012/12/19 Michael Mosmann <mi...@mosmann.de>:
>> > Am 15.12.2012 06:22, schrieb Martin Makundi:
>> >
>> > We could use AjaxSelfUpdatingTimerBehavior to iterate over most
>> characters
>> > and see where it fails (which could be easily detected)..
>> >
>> > As today i only know of 0x1a as a bad one.
>> >
>> > Michael Mosmann
>> >
>> >
>> >> OK, is possibly trivial:
>> >>
>> >>        getRequestCycleSettings().addResponseFilter(new
>> IResponseFilter() {
>> >>          @Override
>> >>          public AppendingStringBuffer filter(AppendingStringBuffer
>> >> responseBuffer) {
>> >>            return responseBuffer; TODO if starts with xml strip illegal
>> >> xml
>> >> characters?
>> >>          }
>> >>        });
>> >>
>> >>
>> >> ?
>> >>
>> >> 2012/12/15 Martin Makundi <ma...@koodaripalvelut.com>
>> >>
>> >>> Can you point me to an example for this?
>> >>>
>> >>>
>> >>> 2012/12/15 Martin Grigorov <mg...@apache.org>
>> >>>
>> >>>> org.apache.wicket.response.filter.IResponseFilter is applied to both
>> >>>> Ajax
>> >>>> and normal responses.
>> >>>>
>> >>>>
>> >>>> On Sat, Dec 15, 2012 at 7:02 AM, Martin Makundi <
>> >>>> martin.makundi@koodaripalvelut.com> wrote:
>> >>>>
>> >>>>> Hi!
>> >>>>>
>> >>>>> Is there a setting/interceptor/filter that can be applied to filter
>> out
>> >>>>> illegal utf characters from AjaxRequestTarget response?
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>
>> >>>>
>> http://blog.mark-mclaren.info/2007/02/invalid-xml-characters-when-valid-utf8_5873.html
>> >>>>>
>> >>>>> Specifically wicket 1.4.x
>> >>>>>
>> >>>>> **
>> >>>>> Martin
>> >>>>>
>> >>>>
>> >>>>
>> >>>> --
>> >>>> Martin Grigorov
>> >>>> jWeekend
>> >>>> Training, Consulting, Development
>> >>>> http://jWeekend.com <http://jweekend.com/>
>> >>>>
>> >>>
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> > For additional commands, e-mail: users-help@wicket.apache.org
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
>
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com <http://jweekend.com/>
>
>


-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>

Re: Illegal utf characters in ajax xml response

Posted by Martin Grigorov <mg...@apache.org>.
http://blog.mark-mclaren.info/2007/02/invalid-xml-characters-when-valid-utf8_5873.html


On Wed, Dec 19, 2012 at 4:34 AM, Martin Makundi <
martin.makundi@koodaripalvelut.com> wrote:

> xb also
>
> 2012/12/19 Michael Mosmann <mi...@mosmann.de>:
> > Am 15.12.2012 06:22, schrieb Martin Makundi:
> >
> > We could use AjaxSelfUpdatingTimerBehavior to iterate over most
> characters
> > and see where it fails (which could be easily detected)..
> >
> > As today i only know of 0x1a as a bad one.
> >
> > Michael Mosmann
> >
> >
> >> OK, is possibly trivial:
> >>
> >>        getRequestCycleSettings().addResponseFilter(new
> IResponseFilter() {
> >>          @Override
> >>          public AppendingStringBuffer filter(AppendingStringBuffer
> >> responseBuffer) {
> >>            return responseBuffer; TODO if starts with xml strip illegal
> >> xml
> >> characters?
> >>          }
> >>        });
> >>
> >>
> >> ?
> >>
> >> 2012/12/15 Martin Makundi <ma...@koodaripalvelut.com>
> >>
> >>> Can you point me to an example for this?
> >>>
> >>>
> >>> 2012/12/15 Martin Grigorov <mg...@apache.org>
> >>>
> >>>> org.apache.wicket.response.filter.IResponseFilter is applied to both
> >>>> Ajax
> >>>> and normal responses.
> >>>>
> >>>>
> >>>> On Sat, Dec 15, 2012 at 7:02 AM, Martin Makundi <
> >>>> martin.makundi@koodaripalvelut.com> wrote:
> >>>>
> >>>>> Hi!
> >>>>>
> >>>>> Is there a setting/interceptor/filter that can be applied to filter
> out
> >>>>> illegal utf characters from AjaxRequestTarget response?
> >>>>>
> >>>>>
> >>>>>
> >>>>
> >>>>
> http://blog.mark-mclaren.info/2007/02/invalid-xml-characters-when-valid-utf8_5873.html
> >>>>>
> >>>>> Specifically wicket 1.4.x
> >>>>>
> >>>>> **
> >>>>> Martin
> >>>>>
> >>>>
> >>>>
> >>>> --
> >>>> Martin Grigorov
> >>>> jWeekend
> >>>> Training, Consulting, Development
> >>>> http://jWeekend.com <http://jweekend.com/>
> >>>>
> >>>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>


-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>

Re: Illegal utf characters in ajax xml response

Posted by Martin Makundi <ma...@koodaripalvelut.com>.
xb also

2012/12/19 Michael Mosmann <mi...@mosmann.de>:
> Am 15.12.2012 06:22, schrieb Martin Makundi:
>
> We could use AjaxSelfUpdatingTimerBehavior to iterate over most characters
> and see where it fails (which could be easily detected)..
>
> As today i only know of 0x1a as a bad one.
>
> Michael Mosmann
>
>
>> OK, is possibly trivial:
>>
>>        getRequestCycleSettings().addResponseFilter(new IResponseFilter() {
>>          @Override
>>          public AppendingStringBuffer filter(AppendingStringBuffer
>> responseBuffer) {
>>            return responseBuffer; TODO if starts with xml strip illegal
>> xml
>> characters?
>>          }
>>        });
>>
>>
>> ?
>>
>> 2012/12/15 Martin Makundi <ma...@koodaripalvelut.com>
>>
>>> Can you point me to an example for this?
>>>
>>>
>>> 2012/12/15 Martin Grigorov <mg...@apache.org>
>>>
>>>> org.apache.wicket.response.filter.IResponseFilter is applied to both
>>>> Ajax
>>>> and normal responses.
>>>>
>>>>
>>>> On Sat, Dec 15, 2012 at 7:02 AM, Martin Makundi <
>>>> martin.makundi@koodaripalvelut.com> wrote:
>>>>
>>>>> Hi!
>>>>>
>>>>> Is there a setting/interceptor/filter that can be applied to filter out
>>>>> illegal utf characters from AjaxRequestTarget response?
>>>>>
>>>>>
>>>>>
>>>>
>>>> http://blog.mark-mclaren.info/2007/02/invalid-xml-characters-when-valid-utf8_5873.html
>>>>>
>>>>> Specifically wicket 1.4.x
>>>>>
>>>>> **
>>>>> Martin
>>>>>
>>>>
>>>>
>>>> --
>>>> Martin Grigorov
>>>> jWeekend
>>>> Training, Consulting, Development
>>>> http://jWeekend.com <http://jweekend.com/>
>>>>
>>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Illegal utf characters in ajax xml response

Posted by Michael Mosmann <mi...@mosmann.de>.
Am 15.12.2012 06:22, schrieb Martin Makundi:

We could use AjaxSelfUpdatingTimerBehavior to iterate over most 
characters and see where it fails (which could be easily detected)..

As today i only know of 0x1a as a bad one.

Michael Mosmann

> OK, is possibly trivial:
>
>        getRequestCycleSettings().addResponseFilter(new IResponseFilter() {
>          @Override
>          public AppendingStringBuffer filter(AppendingStringBuffer
> responseBuffer) {
>            return responseBuffer; TODO if starts with xml strip illegal xml
> characters?
>          }
>        });
>
>
> ?
>
> 2012/12/15 Martin Makundi <ma...@koodaripalvelut.com>
>
>> Can you point me to an example for this?
>>
>>
>> 2012/12/15 Martin Grigorov <mg...@apache.org>
>>
>>> org.apache.wicket.response.filter.IResponseFilter is applied to both Ajax
>>> and normal responses.
>>>
>>>
>>> On Sat, Dec 15, 2012 at 7:02 AM, Martin Makundi <
>>> martin.makundi@koodaripalvelut.com> wrote:
>>>
>>>> Hi!
>>>>
>>>> Is there a setting/interceptor/filter that can be applied to filter out
>>>> illegal utf characters from AjaxRequestTarget response?
>>>>
>>>>
>>>>
>>> http://blog.mark-mclaren.info/2007/02/invalid-xml-characters-when-valid-utf8_5873.html
>>>> Specifically wicket 1.4.x
>>>>
>>>> **
>>>> Martin
>>>>
>>>
>>>
>>> --
>>> Martin Grigorov
>>> jWeekend
>>> Training, Consulting, Development
>>> http://jWeekend.com <http://jweekend.com/>
>>>
>>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Illegal utf characters in ajax xml response

Posted by Martin Makundi <ma...@koodaripalvelut.com>.
OK, is possibly trivial:

      getRequestCycleSettings().addResponseFilter(new IResponseFilter() {
        @Override
        public AppendingStringBuffer filter(AppendingStringBuffer
responseBuffer) {
          return responseBuffer; TODO if starts with xml strip illegal xml
characters?
        }
      });


?

2012/12/15 Martin Makundi <ma...@koodaripalvelut.com>

> Can you point me to an example for this?
>
>
> 2012/12/15 Martin Grigorov <mg...@apache.org>
>
>> org.apache.wicket.response.filter.IResponseFilter is applied to both Ajax
>> and normal responses.
>>
>>
>> On Sat, Dec 15, 2012 at 7:02 AM, Martin Makundi <
>> martin.makundi@koodaripalvelut.com> wrote:
>>
>> > Hi!
>> >
>> > Is there a setting/interceptor/filter that can be applied to filter out
>> > illegal utf characters from AjaxRequestTarget response?
>> >
>> >
>> >
>> http://blog.mark-mclaren.info/2007/02/invalid-xml-characters-when-valid-utf8_5873.html
>> >
>> > Specifically wicket 1.4.x
>> >
>> > **
>> > Martin
>> >
>>
>>
>>
>> --
>> Martin Grigorov
>> jWeekend
>> Training, Consulting, Development
>> http://jWeekend.com <http://jweekend.com/>
>>
>
>

Re: Illegal utf characters in ajax xml response

Posted by Martin Grigorov <mg...@apache.org>.
getRequestCycleSettings().addResponseFilter(new MyFilter());

Wicket passes org.apache.wicket.util.string.AppendingStringBuffer with the
text response to MyFilter, then MyFilter removes/logs/.... all unwanted
chars and return the cleaned text.


On Sat, Dec 15, 2012 at 7:17 AM, Martin Makundi <
martin.makundi@koodaripalvelut.com> wrote:

> Can you point me to an example for this?
>
> 2012/12/15 Martin Grigorov <mg...@apache.org>
>
> > org.apache.wicket.response.filter.IResponseFilter is applied to both Ajax
> > and normal responses.
> >
> >
> > On Sat, Dec 15, 2012 at 7:02 AM, Martin Makundi <
> > martin.makundi@koodaripalvelut.com> wrote:
> >
> > > Hi!
> > >
> > > Is there a setting/interceptor/filter that can be applied to filter out
> > > illegal utf characters from AjaxRequestTarget response?
> > >
> > >
> > >
> >
> http://blog.mark-mclaren.info/2007/02/invalid-xml-characters-when-valid-utf8_5873.html
> > >
> > > Specifically wicket 1.4.x
> > >
> > > **
> > > Martin
> > >
> >
> >
> >
> > --
> > Martin Grigorov
> > jWeekend
> > Training, Consulting, Development
> > http://jWeekend.com <http://jweekend.com/>
> >
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>

Re: Illegal utf characters in ajax xml response

Posted by Martin Makundi <ma...@koodaripalvelut.com>.
Can you point me to an example for this?

2012/12/15 Martin Grigorov <mg...@apache.org>

> org.apache.wicket.response.filter.IResponseFilter is applied to both Ajax
> and normal responses.
>
>
> On Sat, Dec 15, 2012 at 7:02 AM, Martin Makundi <
> martin.makundi@koodaripalvelut.com> wrote:
>
> > Hi!
> >
> > Is there a setting/interceptor/filter that can be applied to filter out
> > illegal utf characters from AjaxRequestTarget response?
> >
> >
> >
> http://blog.mark-mclaren.info/2007/02/invalid-xml-characters-when-valid-utf8_5873.html
> >
> > Specifically wicket 1.4.x
> >
> > **
> > Martin
> >
>
>
>
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com <http://jweekend.com/>
>

Re: Illegal utf characters in ajax xml response

Posted by Martin Grigorov <mg...@apache.org>.
org.apache.wicket.response.filter.IResponseFilter is applied to both Ajax
and normal responses.


On Sat, Dec 15, 2012 at 7:02 AM, Martin Makundi <
martin.makundi@koodaripalvelut.com> wrote:

> Hi!
>
> Is there a setting/interceptor/filter that can be applied to filter out
> illegal utf characters from AjaxRequestTarget response?
>
>
> http://blog.mark-mclaren.info/2007/02/invalid-xml-characters-when-valid-utf8_5873.html
>
> Specifically wicket 1.4.x
>
> **
> Martin
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>