On 12/10/2011 05:10 PM, Jörg Schaible wrote: > Korrignu wrote: > >> On 12/10/2011 02:20 PM, Jörg Schaible wrote: >>> Korrignu wrote: >>> >>>> In fact my problem is this one : >>>> http://jira.codehaus.org/browse/XSTR-334 >>> No. That issue is about providing directly an URL as XML source to the >>> underlaying XML parser to allow such a parser to resolve external DTDs. >>> This is available since XStream 1.4. >>> >>>> ... >>>> >>>> my symbols like é avec defined in my dtd like this : >>>> <!ENTITY eacute "é" ><!-- small e, acute accent --> >>> You are using XStream's default parser that has neither schema nor DTD >>> support. Use a different one like StAX or DOM then. >> Yep, in fact é is defined in my DTD like this : >> <!ENTITY eacute "é" ><!-- small e, acute accent --> >> >> so an xml parser is able to handle this, because it reads the dtd, >> xstream default parser can't as you said. >> >> I will find a workaround. > What "workaround"? Just select the appropriate driver! > > - Jörg > > > I will look at StAX. I think DOM is not good for me. I need to parse a very very big xml file, and I don't need to store all the file in memory but just process events as they arrive.
Thx K.
signature.asc
Description: OpenPGP digital signature
