1. 09 May, 2006 1 commit
    • Kasimier T. Buchcik's avatar
      Fixed bug #341150, reported by Michael Romer. In · 92b394fc
      Kasimier T. Buchcik authored
      * xmlschemas.c: Fixed bug #341150, reported by Michael Romer.
        In xmlSchemaBuildContentModelForSubstGroup(),
        xmlAutomataNewOnceTrans2() was incorrectly used instead of
        xmlAutomataNewTransition2() to mimic a xs:choice for
        substitution-groups.
      * test/schemas/subst-group-1_1.xsd
        test/schemas/subst-group-1_0.xml
        result/schemas/subst-group-1_0_1
        result/schemas/subst-group-1_0_1.err: Added regression test
        supplied by Michael Romer for bug #341150.
      92b394fc
  2. 19 Apr, 2006 1 commit
  3. 13 Dec, 2005 1 commit
  4. 12 Dec, 2005 1 commit
  5. 02 Dec, 2005 1 commit
  6. 11 Nov, 2005 1 commit
    • Kasimier T. Buchcik's avatar
      Changed xmlSchemaFormatIDCKeySequence() to use · 77e76829
      Kasimier T. Buchcik authored
      * xmlschemas.c: Changed xmlSchemaFormatIDCKeySequence()
        to use xmlSchemaGetCanonValueWhtspExt() in order to
        correctly report values for xs:anySimpleType.
      * test/schemas/idc-keyref-err1*
        result/schemas/idc-keyref-err1*: Added a test for this change.
      77e76829
  7. 14 Oct, 2005 1 commit
  8. 10 Oct, 2005 1 commit
  9. 12 Sep, 2005 2 commits
    • Kasimier T. Buchcik's avatar
      Adapted result. · 56cbbf2d
      Kasimier T. Buchcik authored
      * result/schemas/derivation-ok-extension_0_0: Adapted result.
      56cbbf2d
    • Kasimier T. Buchcik's avatar
      Adapted regression results. · cf0123d3
      Kasimier T. Buchcik authored
      * result/schemas/allsg_0_3.err result/schemas/allsg_0_4.err
        result/schemas/changelog093_1_0.err
        result/schemas/derivation-ok-extension_0_0.err
        result/schemas/import1_0_0.err
        result/schemas/derivation-ok-restriction-2-1-1_0_0.err:
        Adapted regression results.
      cf0123d3
  10. 22 Aug, 2005 1 commit
  11. 12 Aug, 2005 1 commit
    • Kasimier T. Buchcik's avatar
      Changed output for keyref-match errors; the target-node will be now · 764b3d61
      Kasimier T. Buchcik authored
      * xmlschemas.c include/libxml/xmlerror.h:
        Changed output for keyref-match errors; the target-node will
        be now reported rather than the scope-node of the keyref
        definition - allowing easier chasing of instance errors.
        This was reported by Guy Fabrice to the mailing list.
        Some initial parsing code for schema redefinitions.
      * result/schemas/bug303566_1_1.err
        result/schemas/bug312957_1_0.err: Adapted test results due
        to the keyref changes.
      764b3d61
  12. 10 Aug, 2005 1 commit
  13. 09 Aug, 2005 3 commits
  14. 08 Aug, 2005 1 commit
  15. 28 Jul, 2005 1 commit
    • Kasimier T. Buchcik's avatar
      Added creation of the content type of xs:anyType. This is needed when · 11162b7c
      Kasimier T. Buchcik authored
      * xmlschemastypes.c: Added creation of the content type of
        xs:anyType. This is needed when trying to extend xs:anyType
        (although it makes no sense to extend it; IMHO the schema
        people should have ruled this out). This was reported
        by Yong Chen to the mailing list.
      * xmlschemas.c: Fixed handling of xs:anyType in
        xmlSchemaCheckCOSCTExtends() (reported by Young Chen). Tiny
        adjustment to an error report output.
      * test/schemas/extension2* result/schemas/extension2*:
        Added a test case provided by Young Chen.
      11162b7c
  16. 19 Jul, 2005 2 commits
  17. 18 Jul, 2005 1 commit
  18. 06 Jul, 2005 1 commit
  19. 21 Jun, 2005 1 commit
  20. 15 Jun, 2005 1 commit
  21. 09 Jun, 2005 2 commits
  22. 25 May, 2005 1 commit
    • Kasimier T. Buchcik's avatar
      Fixed facet errors to be channelled back for union type members; · bd6c3f7d
      Kasimier T. Buchcik authored
      * xmlschemas.c: Fixed facet errors to be channelled back for
        union type members; facet-validation will stop now on the
        first error. Reported by GUY Fabrice to the mailing-list.
      * xmlschemastypes.c: Changed to ignore lengh-related facet
        validation for QNames and NOTATIONs as proposed by the
        schema people.
      * test/schemas/union2* result/schemas/union2*: Added
        regression tests for union types (by GUY Fabrice).
      bd6c3f7d
  23. 10 May, 2005 1 commit
  24. 18 Apr, 2005 1 commit
  25. 01 Apr, 2005 1 commit
  26. 11 Mar, 2005 1 commit
    • Kasimier T. Buchcik's avatar
      The schema parser will stop if components could not be resolved. This is · b474fa40
      Kasimier T. Buchcik authored
      * xmlschemas.c: The schema parser will stop if components could
        not be resolved. This is not conforming to the spec but for now
        will avoid internal errors during type fixup and content model
        creation. Restructured inclusion/import of schemata: this avoids
        duplicate, self and circular inclusion. Chameleon includes are
        still workarounded. Added restriction to disallow references to
        non-imported namespaces. Corrected parsing of <group>.
      * result/schemas/bug167754_0_0*: Added a missing test result.
      b474fa40
  27. 15 Feb, 2005 1 commit
  28. 13 Jan, 2005 2 commits
    • Kasimier T. Buchcik's avatar
      Exposed targetNamespace for simple/complex types, model groups, attribute · 31113c7e
      Kasimier T. Buchcik authored
      * include/libxml/schemasInternals.h xmlschemas.c:
        Exposed targetNamespace for simple/complex types, model groups,
        attribute groups and notations (reported by Michael Hewarth
        to the mailing list). Added targetNamespace to xmlSchemaType,
        xmlSchemaAttributeGroup and xmlSchemaNotation.
        Tiny cosmetic change to the content model error report output.
      * result//all_*.err result//any3_0_0.err result//choice_*.err
        result//list0_0_1.err result//list0_1_1.err: Adapted output
        of regression tests.
      31113c7e
    • Kasimier T. Buchcik's avatar
      Integrated xmlRegExecErrInfo and xmlRegExecNextValues from xmlregexp.c to · c3af19d1
      Kasimier T. Buchcik authored
      * xmlschemas.c: Integrated xmlRegExecErrInfo and xmlRegExecNextValues
        from xmlregexp.c to report expected elements on content model errors.
      * all_*.err any3_0_0.err choice_*.err list0_0_1.err list0_1_1.err:
        Adapted output of regression tests.
      c3af19d1
  29. 17 Nov, 2004 1 commit
    • Kasimier T. Buchcik's avatar
      tiny enhancement for content model error reports (#157190, #143948). · 8b41817d
      Kasimier T. Buchcik authored
      * xmlschemas.c: tiny enhancement for content model error reports (#157190, #143948).
        Removed abbreviations: CT, ST and WC (#157190, reported by Frans  Englich).
        Initial: no report of local components.
      * result/schemas/all* result/schemas/any3_0_0.err result/schemas/choice*
        result/schemas/cos-st-restricts-1-2-err_0_0.err result/schemas/derivation-ok-extension-err_0_0.err
        result/schemas/derivation-ok-extension_0_0.err result/schemas/derivation-ok-restriction-2-1-1_0_0.err
        result/schemas/derivation-ok-restriction-4-1-err_0_0.err result/schemas/deter0_0_0.err
        result/schemas/extension1_0_2.err result/schemas/facet-unionST-err1_0_0.err
        result/schemas/hexbinary_0_1.err result/schemas/list* result/schemas/restriction-attr1_0_0.err
        result/schemas/vdv-first4_0_1.err result/schemas/vdv-first4_0_2.err: Adapted output.
      8b41817d
  30. 16 Sep, 2004 1 commit
    • Kasimier T. Buchcik's avatar
      Simpified attribute wildcard creation and assignment to get rid of memory · 876a6db1
      Kasimier T. Buchcik authored
      * xmlschemas.c include/libxml/schemasInternals.h
        test/schemas/bug152470_1.* result/schemas/bug152470_1_1*:
        Simpified attribute wildcard creation and assignment to get rid
        of memory leaks.
        Restructured the validation process.
        Restructured and expanded parsing of <attributeGroup>.
        Added initial handing of xsi:type.
        Advanced handling of xsi:nil (should work now for simple types).
        Added construction of schemata using xsi:schemaLocation and
        xsi:noNamespaceSchemaLocation; this is not enabled, since
        no corresponding API exists yet.
        Moved the content model to complex type components.
        Resolution of types for attributes will look for simple types
        only (incl. all the built-in simple types).
        Extended parsing of 'anyAttribute'.
        Fixed content-type type for complex types if derived from
        'anyType' using the short-hand form (see bug # 152470,
        submitted by Thilo Jeremias).
      * include/libxml/xmlschematypes.h: Cleaned up some comments.
      * xstc/xstc.py: Workaround to accomodate case insensitive
        test definitions in ms-test.def.xml.
      * result/schemas/deter0_0_0.err result/schemas/ns0_0_2.err
        result/schemas/ns0_1_2.err: Adapted.
      876a6db1
  31. 31 Aug, 2004 1 commit
  32. 25 Aug, 2004 1 commit
    • Kasimier T. Buchcik's avatar
      Added missing test file. Substituted the obsolete xmlSchemaValidError(s) · bea2354a
      Kasimier T. Buchcik authored
      * test/schemas/import-bad-1_0.imp: Added missing test file.
      * xmlschemas.c include/libxml/xmlerror.h include/libxml/xmlschemas.h:
        Substituted the obsolete xmlSchemaValidError(s) for xmlParserErrors
        - see #150840.
        Changed the import of schemas to allow failure of location
        of a resource to be imported.
      * result/schemas/all_* result/schemas/any3_0_0.err
        result/schemas/choice_* result/schemas/import1_0_0.err
        result/schemas/list0_0_1.err result/schemas/list0_1_0.err
        result/schemas/list0_1_1.err result/schemas/ns0_0_2.err
        result/schemas/ns0_1_2.err: Adapted regression test results.
      bea2354a
  33. 20 Aug, 2004 1 commit
    • William M. Brack's avatar
      modified parsing of <list>, <union>, <restriction>, <sequence>, <choice>, · 2f2a6632
      William M. Brack authored
      * xmlschemas.c: modified parsing of <list>, <union>, <restriction>,
        <sequence>, <choice>, <include>, <import>.
        Fixed schema defaults (elementFormDefault, etc.) for included
        schemas.
        Fixed a bug which reported attributes as invalid on
        elements declarations with the built-in type 'anyType'.
        Added "lax" validation of the content of elements of type
        'anyType'.
        Fixed: element declarations with the same name were treated
        as duplicate if located in the subtree of <choice> -> <sequence>.
        (This was bug 150623, submitted by Roland Lezuo)
        Fixed cleanup of error codes in xmlSchemaValidateDoc as proposed
        by Igor Kapitanker. (This was bug 150647, submitted by Igor
        Kapitanker)
      * xmlschemastypes.c: Changed the type of anyType to
        XML_SCHEMAS_ANYTYPE.
      * include/libxml/xmlerror.h: Added schema parser errors.
      * result/schemas/bug145246_0_0*
        result/schemas/extension1_0_2.err: Changed test results.
      * result/schemas/ct-sc-nobase_0_0*
        result/schemas/facet-whiteSpace_0_0*
        result/schemas/import1_0_0* result/schemas/import2_0_0*
        result/schemas/include2_0_0* result/schemas/include3_0_0*
        result/schemas/restriction-attr1_0_0*
        result/schemas/seq-dubl-elem1_0_0*
        result/schemas/xsd-list-itemType_0_0*: Added new rest results.
        test/schemas/bug145246.xsd.imp test/schemas/ct-sc-nobase_0*
        test/schemas/facet-whiteSpace_0* test/schemas/import1_0*
        test/schemas/import2_0* test/schemas/include2_0*
        test/schemas/include3_0* test/schemas/restriction-attr1_0*
        test/schemas/seq-dubl-elem1_0* test/schemas/xml.xsd
        test/schemas/xsd-list-itemType_0*: Added new tests and missing
        files.
      2f2a6632
  34. 10 Aug, 2004 1 commit
    • Daniel Veillard's avatar
      applied Schemas patches from Kasimier Buchcik lot of new tests for things · c0826a77
      Daniel Veillard authored
      * configure.in xmlregexp.c xmlschemas.c xmlschemastypes.c
        include/libxml/schemasInternals.h include/libxml/xmlerror.h
        include/libxml/xmlschemastypes.h: applied Schemas patches
        from Kasimier Buchcik
      * test/ result/ bug141333* annot-err* any[1-4]* bug145246*
        element-err* element-minmax-err* include1* restrict-CT-attr-ref*:
        lot of new tests for things fixed by the patch
      Daniel
      c0826a77