* src/backend/file/sixtp.c: Add code to read XML files with real

namespace declarations.  (see bug #88078)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9040 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Derek Atkins 2003-08-10 23:35:28 +00:00
parent 0b6d1b5248
commit ecfe1657a6
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2003-08-10 Derek Atkins <derek@ihtfp.com>
* src/backend/file/sixtp.c: Add code to read XML files with real
namespace declarations. (see bug #88078)
* src/*/Makefile.am: Make sure we define PWD, as not all shells
define it properly. Fixes #119114.

View File

@ -832,7 +832,7 @@ gnc_is_our_xml_file(const char *filename, const char *first_tag)
return FALSE;
}
tag_compare = g_strdup_printf("<%s>", first_tag);
tag_compare = g_strdup_printf("<%s", first_tag);
result = (strncmp(cursor, tag_compare, strlen(tag_compare)) == 0);
g_free (tag_compare);