[xml] Fix: Wrong signature for function "xmlSchemaAugmentImportedIDC" (libxml2-2.9.4)

2017-07-09 Thread doodad-js Admin
File: xmlschemas.c Version: 2.9.4 22034c22034 < xmlSchemaAugmentImportedIDC(xmlSchemaImportPtr imported, xmlSchemaValidCtxtPtr vctxt) { --- > xmlSchemaAugmentImportedIDC(xmlSchemaImportPtr imported, xmlSchemaValidCtxtPtr vctx

[xml] [patch] Wrong cast to "xmlHashDeallocator" for "xmlSchemaBucketFree"

2017-07-10 Thread doodad-js Admin
Hi, When compiled with Emscripten, another function gets called instead of "xmlSchemaBucketFree", leading to a bug. That's because Emscripten has a function table per function signature. See file attachment for the patch. Claude Petit xmlSchemaBucketDeallocator.patch Description: Bina

Re: [xml] [patch] Wrong cast to "xmlHashDeallocator" for "xmlSchemaBucketFree"

2017-07-12 Thread doodad-js Admin
Thanks for replying. > libxml2 has unsafe casts to xmlHashDeallocator all over the place That's possible. > I'm wondering why you're only reporting this single example. That's the only place I've met that bug with Emscripten. It took me some hours to figure out the issue. > Can you open a bug

Re: [xml] Universally replacing space with %20 before calling xmlParseURI - bad?

2017-12-12 Thread doodad-js Admin
The space character is an unsafe character and must be encoded with "%20" [1]. So, URLs containing a space character are invalid URLs. Claude Petit [1] http://www.ietf.org/rfc/rfc1738.txt -- > Date: Tue, 12 De

Re: [xml] Universally replacing space with %20 before calling xmlParseURI - bad?

2017-12-12 Thread doodad-js Admin
Is it to be conflicting with "xmlns", "xsi:schemaLocation", ... ? -Original Message- From: Richard W.M. Jones [mailto:rjo...@redhat.com] Sent: Tuesday, December 12, 2017 7:49 AM To: doodad-js Admin Cc: veill...@redhat.com; xml@gnome.org Subject: Re: [xml] Re: U