Commit Graph

  • cac7ed7163 Remove support for disable substitutionGroups support, since these are now fully supported J302-043 Emmanuel Briot 2010-04-07 13:25:45 +00:00
  • 1802479206 Type of an <element> should be computed from its substitutionGroup if there is no explicit type defined J302-043 Emmanuel Briot 2010-04-07 13:20:19 +00:00
  • bf3a463cd9 Properly handle "block" as a list of names when declaring a type. We used to only accept a single word J302-043 Emmanuel Briot 2010-04-07 13:04:42 +00:00
  • 76d798cd15 Added support for block="substitution" Rewrite support for substitutionGroups, where the tests were done in the wrong order Prevent substitutions by extensions when the parent had block="extension" Prevent substitutions by restrictions when the parent had block="restriction" J302-043 Emmanuel Briot 2010-04-07 11:13:51 +00:00
  • 666939f1d9 Remove possibility to explicitly disable abstract and nillable elements support. These are no longer needed since they are now fully supported J302-043 Emmanuel Briot 2010-04-07 08:29:04 +00:00
  • e9ee2c4cc5 Should raise an error when the root element is abstract J302-043 Emmanuel Briot 2010-04-06 15:33:27 +00:00
  • 880ca431f8 Properly flag some more unimplemented features (discovered in the previous checkin) J302-043 Emmanuel Briot 2010-04-06 15:24:38 +00:00
  • 754e023477 Added support for <group> inside a <restriction> J302-043 Emmanuel Briot 2010-04-06 14:52:22 +00:00
  • 75757d7881 Fix validation of "fixed" attribute (context for namespaces was set incorrectly) J302-043 Emmanuel Briot 2010-04-06 14:23:05 +00:00
  • e053fc370d (Get_Non_Normalized_Value): added support for retrieving the non-normalized value of an attribute. In particular, the pattern used for a facet should not be normalized J302-043 Emmanuel Briot 2010-04-06 14:23:02 +00:00
  • a435db2b6a Further handling of minOccurs=maxOccurs=0 J302-043 Emmanuel Briot 2010-04-06 14:22:59 +00:00
  • 222f6d8fd9 Fix handling of cases where maxOccurs=minOccurs=0 J302-043 Emmanuel Briot 2010-04-02 20:00:29 +00:00
  • b9550b22b0 QName elements must have a valid namespace J302-043 Emmanuel Briot 2010-04-02 19:36:31 +00:00
  • 72128c1b75 Further fixes to the handling of "form" properties of attributes J302-043 Emmanuel Briot 2010-04-02 14:06:04 +00:00
  • 1b6a0e2afd Improve support for "form" property of attributes J302-043 Emmanuel Briot 2010-04-02 14:06:01 +00:00
  • d6f0eb310b Added entry for J325-027 Emmanuel Briot 2010-03-31 08:09:48 +00:00
  • 8237a9d9fd Use Ada.IO_Exceptions rather than IO_Exceptions, since the user can redefine the latter J330-023 Emmanuel Briot 2010-03-30 16:47:30 +00:00
  • 3acd340234 Comparing "fixed" attribute values should be done against the non-normalized value Remove "--attrform" restriction from schematest, since users no longer need to disable that feature (it should be mostly fully supported) J302-043 Emmanuel Briot 2010-03-29 15:42:21 +00:00
  • 8d55ff3e15 qualified/unqualified does not apply to elements defined in a <group> when they are defined through a "ref" attribute, since they are considered global in that case J302-043 Emmanuel Briot 2010-03-29 11:09:48 +00:00
  • 95b6665aef Fix handling of <anyAttribute> when found in <attributeGroup> Fix handling of multiple <anyAttribute> for a single element, since they must all match J302-043 Emmanuel Briot 2010-03-29 09:46:28 +00:00
  • 4d07902abd Fix computation of lengths for lists, and therefore minLength, length and maxLength facts J302-043 Emmanuel Briot 2010-03-26 21:35:37 +00:00
  • a0ab2ea83b Namespace "##other" should not allow unqualified elements J302-043 Emmanuel Briot 2010-03-26 21:00:48 +00:00
  • 869ad4f351 Compile with -m to avoid unwanted recompilations Emmanuel Briot 2010-03-26 21:00:44 +00:00
  • 905d67a8b8 Various regexp fixes: - regexps are always implicitly anchored - \w should not match _ J302-043 Emmanuel Briot 2010-03-26 19:54:49 +00:00
  • 178dc020a1 Reject a test, since the regexp is correct in fact, as confirmed by Perl J302-043 Emmanuel Briot 2010-03-26 18:17:46 +00:00
  • 0c62bc6549 Further fixes in the handling of dates (check that the month is valid) J302-043 Emmanuel Briot 2010-03-26 18:02:08 +00:00
  • db21b9ac1d Refine previous patch to also handle noNamespaceSchemaLocation J302-043 Emmanuel Briot 2010-03-26 17:35:18 +00:00
  • 5ad75bd92b Share prefix<->URI resolution between the SAX parser and the schema validator. This saves memory by avoiding duplication, and allows XML/Ada to know how many times a given namespace was used. This in turn is necessary to check that in XSD 1.0 a schemaLocation does not occur after an element of that namespace was used. J302-043 Emmanuel Briot 2010-03-26 15:55:34 +00:00
  • da55ad4fb4 Added support for specifiying the XSD version number. Some rules have changed between 1.0 and 1.1, and we need to know whether an error needs to be reported In XSD 1.0, report an error if an element has multiple ID elements J302-043 Emmanuel Briot 2010-03-26 11:09:15 +00:00
  • 2c34e70c7f HexBinary length must be an even number of characters J302-043 Emmanuel Briot 2010-03-26 11:09:12 +00:00
  • dc45f5ac4b When declaring an attribute with a "ref" to a global attribute, the latter's fixed and use properties were ignored (they were in fact not even stored in the grammar for global attributes) J302-043 Emmanuel Briot 2010-03-26 11:09:09 +00:00
  • 02fa2015ac Improve detection of ID unicity throughout the document, and in particular in element value (we used to only verify in attribute values) J302-043 Emmanuel Briot 2010-03-25 19:54:44 +00:00
  • bfc984e8aa Force "gnatmake -p", in case the object and lib directories do not exist in the package we send customers. From J325-027 Emmanuel Briot 2010-03-25 19:54:39 +00:00
  • 81850e92dd Unicity not checked properly for types derived from ID J203-043 Emmanuel Briot 2010-03-25 15:49:40 +00:00
  • e377725eee Remove duplicate entry for J302-043, since that's not allowed in features files Emmanuel Briot 2010-03-25 15:24:52 +00:00
  • 31b666b658 Fix further issues with schema validation: - Elements with no type should have processContents lax, rather than strict. - Attributes "use" and "fixed" were ignored for attribute whose type was defined with a "ref". J302-043 Emmanuel Briot 2010-03-25 15:24:02 +00:00
  • 0521712fa2 Added support for loading the metaData from the W3C CVS repository, in case some tests have been reviewed since the last official release. J302-043 Emmanuel Briot 2010-03-25 15:24:00 +00:00
  • b4efe7f02e (Parse): fix detection of invalid characters in duration Keep Passed tests in the output of the schema testsuite, so that we can compare error messages and test for non-regressions J302-043 Emmanuel Briot 2010-03-25 15:22:50 +00:00
  • 4172b53a7e Added support for explicitly disabling some schema features while running the testsuite or parsing schema files. This provides a way to make sure the subset of schema the user is using validates 100% of the relevant W3C tests (J302-043) Fixes various issues in the validation of dates. Emmanuel Briot 2010-03-24 19:45:53 +00:00
  • 0d9a8f8839 Added support for "INF", "-INF" and "NaN" when parsing float types J302-043 Emmanuel Briot 2010-03-24 19:45:49 +00:00
  • 66e98dd6b6 (XML_Not_Implemented): new exception This is raised when the schema contains unsupported nodes, and is used to distinguish between a bug in XML/Ada and an unimplemented feature. Part of J302-043, part of J217-001 Emmanuel Briot 2010-03-24 15:46:53 +00:00
  • ba45ca5b4d When seeing an unsupported tag in a XSD file, report a validation error now, instead of trying to handle the file anyway. As a result, this limits the number of tests in the schema testsuite where the XML file is incorrect, but still accepted by XML/Ada J302-043 Emmanuel Briot 2010-03-24 15:08:29 +00:00
  • aec8054800 Minor fixes in the handling of decimal and time J302-043 Emmanuel Briot 2010-03-24 15:08:27 +00:00
  • 224cc3960f (--hide, --filter, --group): new command line switches There was an error in the schema testsuite, since several groups could have the same name when part of different testsets. This resulted in incorrect counts and merged display of the output. J302-043 Emmanuel Briot 2010-03-24 14:12:55 +00:00
  • cd75bab70f Improve output of the schema testsuite: no longer show the name of .xsd and .xml files by default, since they clutter the output. We use the test name instead. For each group, display its stats, to help concentrate on partially failing groups for J302-043 Emmanuel Briot 2010-03-24 12:54:55 +00:00
  • 6be5bf011f Fix name of the link (J309-024) Emmanuel Briot 2010-03-23 17:43:59 +00:00
  • 9360c5de96 Update name of link for schema tests J309-024 Emmanuel Briot 2010-03-23 17:30:09 +00:00
  • 0506968ce6 Minor change to the stats Fix expected output J302-043 Emmanuel Briot 2010-03-19 17:23:31 +00:00
  • fa7db6c989 (--stat): new parameter for schematest, which generates statistics on the failures of XML/Ada compared to the W3C baselines. Needed for J302-043 Emmanuel Briot 2010-03-19 14:38:37 +00:00
  • f68f5ccc25 Document that <xsd:key> is not supported currently J217-001 Emmanuel Briot 2010-02-17 16:44:59 +00:00
  • 146c1dc879 Minor style fix Emmanuel Briot 2010-02-11 12:59:46 +00:00
  • 7848c83364 Enhances previous checkin, by also adding timezone right after the year (fixes one test that never passed before) Update baselines (IC17-006) Emmanuel Briot 2009-12-17 16:57:41 +00:00
  • 043b356467 Fix xmlada version Olivier Ramonat 2009-12-17 14:13:43 +00:00
  • 0670380807 Fix incorrect format of I123-005 entry. Thomas Quinot 2009-12-11 14:56:57 +00:00
  • d8249931fa Fix parsing of xsd:date attributes, they should allow timezones. For IC10-021 Emmanuel Briot 2009-12-10 14:10:11 +00:00
  • 6b163344cc Update schematest output in order to be sure that .exe or path to schematest does not appear in the output. Olivier Ramonat 2009-11-20 16:47:34 +00:00
  • 80bea6b0f4 Add a baseline for act testsuite. Check the baseline in the Makefile. Olivier Ramonat 2009-11-20 16:47:31 +00:00
  • 397f92db7c Add generated files to .gitignore. gnat-6.3 Pascal Obry 2009-11-16 14:29:29 +00:00
  • 39d66d6a1b Update schematest output in order to be sure that .exe or path to schematest does not appear in the output. Nicolas Roche 2009-11-10 15:01:31 +00:00
  • 239b8ad7b4 Add a baseline for act testsuite. Check the baseline in the Makefile. Nicolas Roche 2009-11-05 09:22:58 +00:00
  • 147b119dfc Edit configure file manually to replace 2w by 2 Olivier Ramonat 2009-10-23 13:46:34 +00:00
  • 4f7a02991d Forgot to update configure in previous check in (move to version 3.3w) Emmanuel Briot 2009-10-23 13:26:57 +00:00
  • 3fe91d6884 Update xmlada version Olivier Ramonat 2009-10-23 13:20:30 +00:00
  • 909bf193a8 trunk is now building 3.3, since the 3.2 branch was created Emmanuel Briot 2009-10-23 12:23:25 +00:00
  • f904691cd9 Make sure we still return a 0 exit status if dos2unix was not found (use tr instead, which is always available) Emmanuel Briot 2009-10-13 12:09:39 +00:00
  • d1697b9581 (Free): also reset the buffer index, so that we can reuse a parser to parse a second file when an error occurred in the first file IA09-001 Rename known-problems files to follow the usual naming scheme Emmanuel Briot 2009-10-09 07:53:57 +00:00
  • a49a9d2971 Fix link to xmlschema test collection gprbuild-1.4 Olivier Ramonat 2009-09-24 11:01:10 +00:00
  • d9c04f1ff4 Change compilation with cross-compilers: the --target argument now needs to be given to configure (for proper detection of whether shared libs are supported). On the other hand, one no longer has to edit the Makefile manually. I910-014 Emmanuel Briot 2009-09-11 13:36:21 +00:00
  • 331abf462b Added entry for I910-014 Emmanuel Briot 2009-09-11 10:46:45 +00:00
  • 4cae6314e9 Remove need for AC_PROG_CC, which prevents compiling with cross compilers I910-014 Emmanuel Briot 2009-09-11 10:43:17 +00:00
  • b9511d6f86 Create version-specific features and known-problems files, with standard formats Add missing entries (reported by the "TN not properly documented" reminder)) for I212-047 and I123-005 Emmanuel Briot 2009-08-14 07:53:31 +00:00
  • 4469c691c7 Change format of error message for "expecting at least ... occurrences" so that it matches what we do in other contexts to show the namespace. Found while working on I702-017 Emmanuel Briot 2009-07-28 20:36:57 +00:00
  • d8899c0a7f Improve error message when an element is repeated too many times. Instead of indicated we expected the next element, we now also indicate that the previous one was repeated too many times I702-017 Emmanuel Briot 2009-07-28 20:36:46 +00:00
  • e2608905e2 Further addition to previous patch for I728-012 (fix comparison of x.0y with x) Emmanuel Briot 2009-07-28 16:29:25 +00:00
  • f9cc51c421 Fix comparison of Arbitrary_Precision_Numbers when one of them ends with ".0000". For I727-025 Emmanuel Briot 2009-07-27 19:17:51 +00:00
  • 5b48dd4424 Disable test for H212-023, for which there apparently is a script issue in the test driver Emmanuel Briot 2009-07-24 00:32:04 +00:00
  • 13f22ac6c9 Some files to ignore Emmanuel Briot 2009-07-24 00:31:55 +00:00
  • 324ff5df67 Fix handling of <xsd:appinfo> and <xsd:documentation> I723-028 Emmanuel Briot 2009-07-24 00:31:46 +00:00
  • 54c1bb67c9 Minor change in example Emmanuel Briot 2009-07-24 00:31:32 +00:00
  • 635ed685b1 Minor reformatting. Vadim Godunko 2009-07-05 20:36:27 +00:00
  • 7cda5b94b0 Added support for "fixed" in attributes declaration I702-002 Emmanuel Briot 2009-07-02 21:31:24 +00:00
  • 8923e1860b A XML_Grammar is a smart pointer, and does not need explicit Free I625-012 Emmanuel Briot 2009-06-26 17:40:11 +00:00
  • b54c6711f1 Update example, as reported in I625-012 Emmanuel Briot 2009-06-25 17:42:28 +00:00
  • 8806bc0f98 Fix typo. gpl-2009 Florian Villoing 2009-04-20 09:56:47 +00:00
  • 938428a5ef Also install lib/xmlada/relocatable/libxmlada.so.${MAJOR} as a link, as per I212-047 Emmanuel Briot 2009-02-17 16:25:17 +00:00
  • f56c6fc310 (Free): fix memory leak Emmanuel Briot 2009-01-28 17:34:39 +00:00
  • 7706fc719d Minor reformatting. Pascal Obry 2009-01-28 13:37:06 +00:00
  • de5ca9f001 Update README build procedure. Pascal Obry 2009-01-28 13:36:57 +00:00
  • 7cfe790f62 Merge from HEAD "Update README build procedure." gnat-6.2 Pascal Obry 2009-01-28 13:36:35 +00:00
  • d7783963bb Fix incorrect version number (did not match what is on the first line of the file) Emmanuel Briot 2009-01-26 19:05:33 +00:00
  • eb2d6e938d Added support for Windows-1251 I123-005 Emmanuel Briot 2009-01-23 17:15:49 +00:00
  • 2200cc82f4 Update examples to show how to deallocate memory. For I111-004 Emmanuel Briot 2009-01-17 16:39:46 +00:00
  • 082a809fe3 Added support for PROCESSORS to control the number of parallel compilation (HC17-020) Emmanuel Briot 2008-12-17 17:58:16 +00:00
  • 2bcba242d1 Default growth factor is set to 1.0 for speed. Pascal Obry 2008-11-18 19:52:15 +00:00
  • eb492de5ff Fix previous change which could raise constraint error. Pascal Obry 2008-11-18 13:54:26 +00:00
  • 7a62959436 Add support for user defined growth factor. Pascal Obry 2008-11-18 11:04:33 +00:00
  • 5feee95e92 Add new service Create_Text_Node with a DOM_String_Access. Pascal Obry 2008-11-18 11:04:31 +00:00
  • ffd76ec833 Replace version number in configure Emmanuel Briot 2008-10-28 14:42:54 +00:00
  • 0aae8cf288 Add ??? comments Thomas Quinot 2008-10-28 11:16:50 +00:00
  • 1dee3e8cd2 Next release will be 3.2, prepare for future wavefronts (HA15-006) Emmanuel Briot 2008-10-27 21:51:15 +00:00