[xml] #630130 - Patch - GML XSD Schema
- From: Olivier Courtin <olivier courtin oslandia com>
- To: xml gnome org
- Subject: [xml] #630130 - Patch - GML XSD Schema
- Date: Wed, 25 May 2011 15:50:35 +0200
Hi list,
I encouter the same problem, than:
<https://bugzilla.gnome.org/show_bug.cgi?id=630130>
The patch provided by TOYODA Eizi is quite small, and 'works for me'
with latest libxml2 trunk version.
Could we find a way to close this ticket, before next release ?
--- xmlschemas.c.orig 2011-04-24 14:58:16.000000000 +0000
+++ xmlschemas.c 2011-04-24 15:47:50.000000000 +0000
@@ -15158,7 +15158,11 @@
}
if ( (WXS_IS_LIST(type) || WXS_IS_UNION(type)) &&
(WXS_IS_RESTRICTION(type) == 0) &&
- (! WXS_IS_ANY_SIMPLE_TYPE(baseType))) {
+ (
+ (! WXS_IS_ANY_SIMPLE_TYPE(baseType))
+ && (baseType->type != XML_SCHEMA_TYPE_SIMPLE)
+ )
+ ) {
xmlSchemaPCustomErr(ctxt,
XML_SCHEMAP_ST_PROPS_CORRECT_1,
WXS_BASIC_CAST type, NULL,
Tks in advance,
--
Olivier
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]