Re: Scribus filter / c# advice needed



On 02/12/06, D Bera <dbera web gmail com> wrote:
> On further inspection it seems to be because I am using the .Net 1.0
> method of creating an XmlTextReader which does not enable character
> checking:
>
> XmlTextReader reader = new XmlTextReader(thestream);
>
> msdn says this is deprecated in .Net 2.0 in favour of:
>
> XmlReader r = XmlReader.Create(thestream);
>
> using the new method character checking seems to be enabled by
> default. So its not a bug in mono its just that the XmlReader is
> slightly lax by default.

There is a plan to move beagle to .Net-2.0 pretty soon (this or next
release). Would the filter break in that case ?

Nope, all the XmlTextReader based filters will continue to work the
same, but for the sake of future proofing they should probably be
fixed to use the new XmlReader creation method



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]