[Gambas-devel] XML patch

Benoit Minisini gambas at ...1...
Sun Nov 28 20:45:37 CET 2004


On Thursday 25 November 2004 00:16, Daniel Campos wrote:
> Hi:
>
> A patch for XmlReader:
>
> 1) Corrects a bug: once a XmlReader was opened, the EOF flag was set to
> TRUE at the end of the document, even if Open() method was used again.
>
> 2) Adds a static method: Decode (Data As String,Encoding As String) AS
> String
>
> This method allows to decode both base64 and BinHex encoded strings.
> That way, Gambas can manage binary data stored in a XML file, for
> example, a picture. XmlWriter has also methods to write encoded base64
> and BinHex strings.
>
> MyData=XmlReader.Decode(Data,"base64")
>
>
> MyData=XmlReader.Decode(Data,"binhex")
>
> Regards,
>
> Daniel Campos

You should maintain a ChangeLog file in your libxml source directory.

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the Devel mailing list