1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-03 08:58:17 +03:00

Applied patches supplied by Kasimier Buchcik. changed test to account for

* xmlschemas.c, include/libxml/schemasInternals.h,
  include/libxml/xmlerror.h: Applied patches supplied by
  Kasimier Buchcik.
* test/schemas/po1_0.xml, test/schemas/po1_0.xsd:
  changed test to account for above patch.
This commit is contained in:
William M. Brack 2004-05-11 15:09:58 +00:00
parent b3ac18dce8
commit e709195e35
6 changed files with 768 additions and 265 deletions

View File

@ -1,3 +1,11 @@
Tue May 11 23:04:47 HKT 2004 William Brack <wbrack@mmm.com.hk>
* xmlschemas.c, include/libxml/schemasInternals.h,
include/libxml/xmlerror.h: Applied patches supplied by
Kasimier Buchcik.
* test/schemas/po1_0.xml, test/schemas/po1_0.xsd:
changed test to account for above patch.
Tue May 11 09:06:53 CEST 2004 Daniel Veillard <daniel@veillard.com>
* python/tests/tstLastError.py: better portability fix for f(*args),

View File

@ -49,6 +49,7 @@ typedef enum {
XML_SCHEMA_TYPE_NOTATION,
XML_SCHEMA_TYPE_LIST,
XML_SCHEMA_TYPE_UNION,
XML_SCHEMA_TYPE_ANY_ATTRIBUTE,
XML_SCHEMA_FACET_MININCLUSIVE = 1000,
XML_SCHEMA_FACET_MINEXCLUSIVE,
XML_SCHEMA_FACET_MAXINCLUSIVE,

View File

@ -547,8 +547,14 @@ typedef enum {
XML_SCHEMAP_INCLUDE_SCHEMA_NO_URI, /* 1770 */
XML_SCHEMAP_NOT_SCHEMA, /* 1771 */
XML_SCHEMAP_UNKNOWN_MEMBER_TYPE, /* 1772 */
XML_SCHEMAP_INVALID_ATTR_USE, /* 1723 */
XML_SCHEMAP_RECURSIVE, /* 1724 */
XML_SCHEMAP_INVALID_ATTR_USE, /* 1773 */
XML_SCHEMAP_RECURSIVE, /* 1774 */
XML_SCHEMAP_SUPERNUMEROUS_LIST_ITEM_TYPE, /* 1775 */
XML_SCHEMAP_INVALID_ATTR_COMBINATION, /* 1776 */
XML_SCHEMAP_INVALID_ATTR_INLINE_COMBINATION, /* 1777 */
XML_SCHEMAP_MISSING_SIMPLETYPE_CHILD, /* 1778 */
XML_SCHEMAP_INVALID_ATTR_NAME, /* 1779 */
XML_SCHEMAP_REF_AND_CONTENT, /* 1780 */
XML_SCHEMAV_NOROOT = 1800,
XML_SCHEMAV_UNDECLAREDELEM, /* 1801 */
XML_SCHEMAV_NOTTOPLEVEL, /* 1802 */

View File

@ -21,7 +21,7 @@
<productName>Lawnmower</productName>
<quantity>1</quantity>
<USPrice>148.95</USPrice>
<comment>Confirm this is electric</comment>
<apo:comment>Confirm this is electric</apo:comment>
</item>
<item partNum="926-AA">
<productName>Baby Monitor</productName>
@ -31,3 +31,4 @@
</item>
</items>
</apo:purchaseOrder>

View File

@ -16,7 +16,7 @@ Purchase order schema for Example.com.
<xsd:sequence>
<xsd:element name="shipTo" type="po:USAddress"/>
<xsd:element name="billTo" type="po:USAddress"/>
<xsd:element ref="comment" minOccurs="0"/>
<xsd:element ref="po:comment" minOccurs="0"/>
<xsd:element name="items" type="po:Items"/>
</xsd:sequence>
<xsd:attribute name="orderDate" type="xsd:date"/>
@ -45,7 +45,7 @@ Purchase order schema for Example.com.
</xsd:simpleType>
</xsd:element>
<xsd:element name="USPrice" type="xsd:decimal"/>
<xsd:element ref="comment" minOccurs="0"/>
<xsd:element ref="po:comment" minOccurs="0"/>
<xsd:element name="shipDate" type="xsd:date" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="partNum" type="po:SKU" use="required"/>
@ -61,3 +61,4 @@ Purchase order schema for Example.com.
</xsd:simpleType>
</xsd:schema>

File diff suppressed because it is too large Load Diff