[patch] validation

[email protected] (Arnaud Patard (Rtp)) Mon, 16 Feb 2004 13:45:21 +0100
Newsgroups gmane.editors.mlview.devel
Message-ID <[email protected]>
Hi,

I've made a patch for bug #127072. It enables to use dtd over http, ftp, and local file system.


The usage of other protcols is not (yet :-) ) allowed. In order to do that, one could use gnome-vfs but I'd like to know your opinion about that.


Rtp
parsing-utils.c.diff (application/octet-stream, 593 B)
cvs diff: Diffing .
Index: mlview-parsing-utils.c
===================================================================
RCS file: /cvs/gnome/mlview/src/mlview-parsing-utils.c,v
retrieving revision 1.35
diff -r1.35 mlview-parsing-utils.c
437c437
<         URI = xmlBuildURI (a_system_id, NULL);
---
>         URI = xmlBuildURI (a_system_id, (xmlChar *)base);
468d467
<         g_return_val_if_fail (a_app_context != NULL, FALSE);
472a472,478
>
>       /* if not in a catalog, returns the system id */
>       if (!result)
>       {
>               result=(xmlChar *)strdup(a_sys_id);
>       }
>