Don't know if its possible to set it globally. :/
Also you probably need to set key to value of
XMLInputFactory.IS_VALIDATING not to "XMLInputFactory.IS_VALIDATING".

On 5/22/07, Jorg Heymans <[EMAIL PROTECTED]> wrote:
Thanks.

From the docs i gather that i can set this configuration on each of my
services:
<bean class="org.codehaus.xfire.spring.ServiceBean">
 ... define your normal attributes ...
 <property name="properties">

 <map>
 <entry>
 <key><value>XMLInputFactory.IS_VALIDATING</value></key>
 <value>false</value>
 </entry>
 </map>

 <property>
</bean>

Is there a way in the configuration to enable this for all services at once
(other than creating a parent servicebean) ?

Regards
Jorg


 On 5/22/07, Tomek Sztelak <[EMAIL PROTECTED]> wrote:
>
> You can pass following properties to  XMLInputFactory using xfire config:
>
> XMLInputFactory.IS_VALIDATING);
> XMLInputFactory.IS_NAMESPACE_AWARE
> XMLInputFactory.IS_COALESCING);
> XMLInputFactory.IS_REPLACING_ENTITY_REFERENCES
> XMLInputFactory.IS_SUPPORTING_EXTERNAL_ENTITIES
>
>
> On 5/22/07, Jorg Heymans <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I'm getting a DTD resolution timeout from woodstox when my xfire
application
> > starts up. I posted this to the woodstox list first [1], it seems that
there
> > are some flags in woodstox that can be tweaked to disable the resolving,
> > however they are all programmatic. Does xfire expose a property
somewhere
> > that controls this behaviour ?
> >
> > Regards
> > Jorg Heymans
> >
> > [1]
> >
http://archive.woodstox.codehaus.org/user/132770720705210301v638abdc6w239d4993662cffcc%40mail.gmail.com
>
>
> --
> -----
> When one of our products stops working, we'll blame another vendor
> within 24 hours.
>
>
---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>




--
-----
When one of our products stops working, we'll blame another vendor
within 24 hours.

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to