1. 09 Mar, 2006 1 commit
  2. 20 Feb, 2006 2 commits
  3. 05 Jan, 2006 1 commit
  4. 03 Jan, 2006 1 commit
  5. 02 Jan, 2006 1 commit
  6. 20 Dec, 2005 1 commit
    • Kasimier T. Buchcik's avatar
      Fixed a segfault during text concatenation when validating a node tree: · 5bb0c08d
      Kasimier T. Buchcik authored
      * xmlschemas.c xmlstring.c: Fixed a segfault during
        text concatenation when validating a node tree:
        xmlStrncat was called with a @len of -1; but unlike
        xmlStrncatNew, it does not calculate the length
        automatically in such a case (reported by Judy Hay
        on the mailing list).
        Updated the descriptions of the involved string
        functions to note this.
      5bb0c08d
  7. 12 Dec, 2005 1 commit
  8. 10 Dec, 2005 1 commit
  9. 07 Dec, 2005 1 commit
    • Kasimier T. Buchcik's avatar
      Fixed a segfault: the instance document was still tried to be validated, · 215406f0
      Kasimier T. Buchcik authored
      * xmlschemas.c: Fixed a segfault: the instance document was
        still tried to be validated, if the schema, dynamically
        acquired using XSI was invalid, thus mangled. The
        validation will stop (or rather won't validate) now in
        such a case. The schema parser error code will be set
        on the validion context now; this is somehow not nice,
        but it assures that the validation context indicates an
        error in there was a parser error.
      215406f0
  10. 30 Nov, 2005 1 commit
  11. 28 Nov, 2005 1 commit
    • Kasimier T. Buchcik's avatar
      An assignment to a local variable, which was used to access the IDC node · 132ba5f5
      Kasimier T. Buchcik authored
      * xmlschemas.c: An assignment to a local variable, which was
        used to access the IDC node list, was missing after the
        reallocation of the list (reported by Fabrice GUY
        bug #322411). Renamed the define ENABLE_IDC_NODE_TABLES
        to ENABLE_IDC_NODE_TABLES_TEST and *disabled* it, since
        it is used to force bubbling of IDC node tables even
        if not necessary; this was intended to be used for test
        purposes, but I obviously missed to disable it (although
        it apparently helped finding the bug).
      132ba5f5
  12. 23 Nov, 2005 1 commit
  13. 22 Nov, 2005 1 commit
  14. 18 Nov, 2005 1 commit
  15. 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
  16. 07 Nov, 2005 1 commit
  17. 20 Oct, 2005 1 commit
  18. 19 Oct, 2005 1 commit
    • Kasimier T. Buchcik's avatar
      Fixed a potential memory leak in xmlSchemaCheckCSelectorXPath() when an · 940ab0c6
      Kasimier T. Buchcik authored
      * xmlschemas.c: Fixed a potential memory leak in
        xmlSchemaCheckCSelectorXPath() when an internal error occurs.
        Fixed setting of ctxt->err to the given error code in
        the parsing error functions.
      * pattern.c: Added internal xmlCompileIDCXPathPath() as a
        starting point for IDC XPath compilation; this and some other
        tiny changes fixes issues regarding whitespace in the
        expressions and IDC selector/field relevant restrictions of
        the subset of XPath. Fixed a missing blocking of attributes
        in xmlStreamPushInternal().
      940ab0c6
  19. 18 Oct, 2005 1 commit
    • Daniel Veillard's avatar
      removed the error message removed 2 instability warnings from function · 567a45b5
      Daniel Veillard authored
      * runtest.c: removed the error message
      * relaxng.c xmlschemas.c: removed 2 instability warnings from function
        documentation
      * include/libxml/schemasInternals.h: changed warning about API stability
      * xmlregexp.c: trying to improve runtime execution of non-deterministic
        regexps and automata. Not fully finished but should be way better.
      Daniel
      567a45b5
  20. 17 Oct, 2005 2 commits
  21. 14 Oct, 2005 1 commit
    • Kasimier T. Buchcik's avatar
      Fixed some identity-constraint issues: Restructured IDC node-tables · 27820270
      Kasimier T. Buchcik authored
      * xmlschemas.c: Fixed some identity-constraint issues:
        Restructured IDC node-tables
        Allowed IDCs to resolve also to nodes of complex type with
        simple content.
        Added check for keyrefs with references to keyrefs.
        IDC target-nodes were interferring with IDC node-tables,
        since they used one list of entries only. I separated this
        one big list into 3 lists: 1 for IDC node-table entries,
        1 for _duplicates_ of IDC node-table entries and 1 for
        IDC target-nodes. More code, but cleaner and it works at last.
        Keyrefs will fail to resolve to duplicate key/unique entries.
        I thought this was already working this way, but it didn't.
        The wording of the definition for [node table] in the spec
        can lead to a scenario, where keyrefs resolve perfectly, even
        if the relevant key-sequences of the referenced key/unique have
        duplicates in the subtree. Currently only Saxon 8.5.1 is
        dissallowing resolution to duplicate entries correctly - we
        will follow Saxon here.
        Removed some intel compiler warnings (reported by
        Kjartan Maraas, bug #318517).
      * pattern.c: Fixed an IDC-XPath problem when resolving to
        attributes.
      27820270
  22. 10 Oct, 2005 1 commit
    • Kasimier T. Buchcik's avatar
      Initial implementation for redefinitions; this still misses checks for · 570faa57
      Kasimier T. Buchcik authored
      * xmlschemas.c include/libxml/schemasInternals.h
        include/libxml/xmlerror.h: Initial implementation for
        redefinitions; this still misses checks for restrictions
        of the content model of complex types.
        Fixed default/fixed values for attributes (looks like they
        did not work in the last  releases).
        Completed constraints for attribute uses.
        Seperated attribute derivation from attribute constraints.
        Completed constraints for attribute group definitions.
        Disallowing <import>s of schemas in no target namespace if the
        importing schema is a chameleon schema. This contradicts
        the way Saxon, Xerces-J, XSV and IBM's SQC works, but the
        W3C XML Schema WG, thinks it is correct to dissalow such
        imports.
        Added cos-all-limited constraints.
        Restructured reference resolution to model groups and element
        declarations.
        Misc cleanup.
      570faa57
  23. 12 Sep, 2005 2 commits
    • Daniel Veillard's avatar
      release of 2.6.22 updated doc and rebuild. added XML_SAVE_NO_XHTML · 33b20b70
      Daniel Veillard authored
      * NEWS configure.in doc//*: release of 2.6.22 updated doc and
        rebuild.
      * xmlsave.c include/libxml/xmlsave.h: added XML_SAVE_NO_XHTML
        xmlSaveOption
      * xmlschemas.c: minor cleanups
      Daniel
      33b20b70
    • Kasimier T. Buchcik's avatar
      Completion of the schema graph. Centralisation, more robustness of the · 22c0c465
      Kasimier T. Buchcik authored
      * xmlschemas.c include/libxml/schemasInternals.h
        include/libxml/xmlerror.h: Completion of the schema graph.
        Centralisation, more robustness of the schema document
        aquisition story. Centralised and restructured component fixup.
        Fixed attribute derivation when 'prohibiting' attribute uses.
        Added warnings: when schema documents cannot be localized
        during imports; when we get duplicate and pointless attribute
        prohibitions. Changed error reports for IDCs to report
        the relevant IDC designation as well (requested by GUY Fabrice).
        Misc code-cleanup.
      22c0c465
  24. 22 Aug, 2005 1 commit
  25. 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
  26. 10 Aug, 2005 1 commit
  27. 09 Aug, 2005 2 commits
  28. 08 Aug, 2005 1 commit
  29. 28 Jul, 2005 2 commits
    • Daniel Veillard's avatar
      a lot of small cleanups based on Linus' sparse check output. Daniel · 24505b0f
      Daniel Veillard authored
      * HTMLparser.c SAX2.c encoding.c globals.c parser.c relaxng.c
        runsuite.c runtest.c schematron.c testHTML.c testReader.c
        testRegexp.c testSAX.c testThreads.c valid.c xinclude.c xmlIO.c
        xmllint.c xmlmodule.c xmlschemas.c xpath.c xpointer.c: a lot of
        small cleanups based on Linus' sparse check output.
      Daniel
      24505b0f
    • 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
  30. 23 Jul, 2005 2 commits
  31. 21 Jul, 2005 2 commits
  32. 20 Jul, 2005 1 commit
  33. 19 Jul, 2005 1 commit