Commit Graph

  • 32fd10ed7b (URI_Was_Parsed): Add debug traces, used for F814-001 Emmanuel Briot 2006-08-16 09:17:30 +00:00
  • 7f147d355b Commit changes reported in F804-011 Emmanuel Briot 2006-08-04 13:06:49 +00:00
  • 3379134c25 Added entry for F502-022 Emmanuel Briot 2006-07-17 09:09:10 +00:00
  • 8ebdf28da9 (Parse_Doctype): Use base name in error message, which fixes regressions in the nightly run Emmanuel Briot 2006-07-17 09:04:35 +00:00
  • 391b45e91b (run_test): fix name of dependency Emmanuel Briot 2006-07-17 09:00:28 +00:00
  • 04c83c1a72 (Validate_Characters, for a list): allow this validator to be used on a non-normalized string, as in xmltests/msxsdtest/Particles/particlesDc008.xml Emmanuel Briot 2006-07-13 15:58:24 +00:00
  • d1619bdbf8 Attribute normalization changes Emmanuel Briot 2006-07-13 15:20:13 +00:00
  • a9c9782815 (Validate_Attributes): Now in charge of doing further normalization on the value of attributes (test xmltests/suntest/SunTestsAll/xsd008.v00.xml) Emmanuel Briot 2006-07-13 15:18:32 +00:00
  • af946b160f (Validate_Attributes): new profile to match the one defined in schema-validators Emmanuel Briot 2006-07-13 15:17:50 +00:00
  • ed66fdae3c Fix the value of the whitespace facet for some types. This facet is now used for attribute normalization when relevant Emmanuel Briot 2006-07-13 15:17:29 +00:00
  • 0591d92d32 Default for Whitespace is now collapse, since there are more types with this value by default. This facet is now used for attribute normalization when needed Emmanuel Briot 2006-07-13 15:17:03 +00:00
  • 55be437e4f (Hook_Start_Element): Change profile to match standard profile (since this can now normalized attributes as well) Emmanuel Briot 2006-07-13 15:16:17 +00:00
  • c5693accca (Start_Element_Hook): Can now be used to do extra normalization on attributes based on schema contents Emmanuel Briot 2006-07-13 15:12:57 +00:00
  • 286ca5e8e1 Mark two new tests as expected failures Emmanuel Briot 2006-07-13 11:01:06 +00:00
  • f3d7ee1ef1 Added debug traces Emmanuel Briot 2006-07-13 11:00:50 +00:00
  • 7a5a7e2b4b (Create_Group): Add support for <group> instead <extension>, fixes test particlesFb001 Emmanuel Briot 2006-07-13 11:00:19 +00:00
  • f0604be403 (Set_Parsed_UI): Initializes the grammar first, so that we properly register the first grammar ever parsed. Fixes F614-003, and schema/test/act_testsuite/multiple_schemas Emmanuel Briot 2006-07-13 08:42:58 +00:00
  • 4e97986615 Fix some expected output, since Global_Check is now run explicitly by testschema.adb (to allow for multiple -xsd files), and thus the error message do not include file names. Part of F614-003 Emmanuel Briot 2006-07-12 13:17:25 +00:00
  • 02de0bffbe Parse the -debug switch first, so that we can more easily specify multiple -xsd switches on the command line but still get debug traces when we parse them (part of F614-003) Call to Create_Schema_For_Schema is now optional for the user, which makes validation easier to use Emmanuel Briot 2006-07-12 13:16:44 +00:00
  • b33da0b9e8 No need to explicitly create the schema-for-schema anymore Emmanuel Briot 2006-07-12 13:14:19 +00:00
  • e3c4b85b27 (Register_Predefined_Types): Added support for anySimpleType Emmanuel Briot 2006-07-12 13:13:44 +00:00
  • 898b7c1b75 (Set_Created_Grammar): Review documentation to make it clearer when this subprogram should be used (F614-003) (Create_Import): Make sure that we can import a grammar that has already been parsed (F614-003) (Start_Document): Make sure the created grammar knows about predefined types. This is more cost-effective than associated the whole schema-for-schema in this grammar Emmanuel Briot 2006-07-12 13:13:18 +00:00
  • f50b23b632 (Create_Schema_For_Schema): Renamed to Add_Schema_For_Schema, since we can now call it several times without problem. This also makes this call optional for the user. Part of F614-003 Emmanuel Briot 2006-07-12 13:10:33 +00:00
  • 391396cf38 (Reset): New subprogram, fixes minor memory leak (Get_Validating_Grammar): New subprogram (Parse_Grammar): Not an error if the xsd files is not found (Parse_Grammars): Do not parse the same XSD file multiple times to save time (Parse): Setting schema-for-schema is now optional for the user, so we ensure at this level that it is properly done. Fix memory leaks when we exit with errors (F614-003) Emmanuel Briot 2006-07-12 13:09:43 +00:00
  • eae9f2ce4a (Get_NS): New parameter Create_If_Needed (Free, Debug_Dump): New subprograms (Initialize): Do nothing if the predefined types are already known. This avoids duplicate declaration warnings. Part of F614-003 Emmanuel Briot 2006-07-12 13:04:46 +00:00
  • 3998a35e89 (Set_System_Id): Normalize the file name, so that we can useful compare two input sources and make sure we do not parse the same XSD file twice. Part of F614-003 Emmanuel Briot 2006-07-12 13:01:09 +00:00
  • f4301377ab Add explicit parentheses around unary minus expression used as operand in a multiplication. Fixes warning introduced by F630-015 Thomas Quinot 2006-07-06 10:57:31 +00:00
  • 8f1144020f Added fix for F614-003 Emmanuel Briot 2006-06-22 09:38:37 +00:00
  • 168f9bdae1 (XML_Grammar): is now a pointer type, to avoid double deallocations when the grammar is stored by the user in his own application. This fixes F614-003 Emmanuel Briot 2006-06-22 09:37:31 +00:00
  • c5a61f89b4 Remove debug trace Emmanuel Briot 2006-06-12 07:54:53 +00:00
  • 0d03d88360 Add doc on how to use this tool Emmanuel Briot 2006-06-12 07:52:46 +00:00
  • 9dc66f491f Add support for parsing several XSD files (needed for F602-020) Emmanuel Briot 2006-06-12 07:49:30 +00:00
  • aba9d120fe Updated to latest version of configure.in (2.2.0) gpl-2006-branch Emmanuel Briot 2006-06-05 07:38:37 +00:00
  • 9d1c916729 Bump version number to 2.2.0 as agreed in F306-016. Romain Berrendonner 2006-06-01 10:14:06 +00:00
  • c5aca0cdd0 Add comment about version numbers Emmanuel Briot 2006-06-01 10:04:18 +00:00
  • 2d7f3737c6 (Validate_Start_Element for choices): if we get a fatal error for one of the choices, keep examining the next ones. Fixes F511-007 Emmanuel Briot 2006-05-18 09:13:47 +00:00
  • 2a67ce5ccb (Validate_Characters): need to check the base type if no restriction was specified, as we already do for extensions. Fixes F511-009 Emmanuel Briot 2006-05-18 08:22:59 +00:00
  • ad69d17a52 New test for F511-009 Emmanuel Briot 2006-05-18 08:22:27 +00:00
  • c4cdec6783 (docs): try to build the examples by default, since this target is not used by the nightly builds xmlada-2.2 Emmanuel Briot 2006-05-10 16:31:02 +00:00
  • 2c386204c5 (all): do not try to build the examples, since the nightly builds haven't done a configure at that stage (all_check): new target for those that want to check the examples Emmanuel Briot 2006-05-10 16:29:53 +00:00
  • 5b582a7528 Use diff -c instead of diff -u, since the latter is not supported on all of our machines Emmanuel Briot 2006-05-09 07:15:29 +00:00
  • dcec0006b0 (Is_Valid_Base64Binary): Minor fix to previous check in (F427-004) Emmanuel Briot 2006-05-05 12:27:00 +00:00
  • 781ef986ce Review implementation of Is_Valid_Base64Binary, for F427-004 Emmanuel Briot 2006-05-05 12:22:32 +00:00
  • 20e01663af Add support for running F427-004 Emmanuel Briot 2006-05-05 12:22:11 +00:00
  • 93eb3318d3 (Check_URI): New subprogram, so that we can accept both relative and absolute URI (F427-004) (Is_Valid_IRI): only accept absolute URIs Emmanuel Briot 2006-05-05 08:53:27 +00:00
  • 03c195b696 (Print): No need for complex algorithms to print the namespace declarations, since we are in fact saving them in the DOM tree now as required by the DOM standard. This simplifies the code, and removes valgrind errors for F502-022 Emmanuel Briot 2006-05-05 08:48:49 +00:00
  • 11cbacf749 Run in -silent mode, so that nothing is printed in case of success. This is needed for the nightly runs Emmanuel Briot 2006-05-05 08:19:36 +00:00
  • 68ce86cd51 In -silent -auto mode, do not print anything unless there are some actual failures. This is needed for the nightly runs Emmanuel Briot 2006-05-05 08:19:16 +00:00
  • b3fb64eea3 Disable rmt-ns10-033, since the test is incorrect (I had a local fix of the testsuite, but there are nightly failures otherwise) Emmanuel Briot 2006-05-05 07:27:00 +00:00
  • f30a1085d8 Remove leading blank lines (F503-006) Emmanuel Briot 2006-05-04 10:23:50 +00:00
  • 20e570fac0 Add support for running tests under valgrind Emmanuel Briot 2006-05-04 09:56:24 +00:00
  • 100293519f Better support of valgrind Emmanuel Briot 2006-05-04 09:54:51 +00:00
  • 2e519e3056 Add support Makefiles for running all testsuite with a single command. Inspired by F503-007 Emmanuel Briot 2006-05-04 09:52:10 +00:00
  • 4fee3daabb Initial revision, to make sure we properly run the act_testsuite as well as the official w3c testsuite. Part of F503-007 Emmanuel Briot 2006-05-04 09:46:45 +00:00
  • 1fdf4ce8a5 Fix all memory leaks reported by valgrind when running testxml. Since the latter parses more than 2000 different files with all the possible errors that should indicate there are no remaining memory leaks in XML/Ada. (Sax.Models.Content_Model): New reference-counted type needed for the above. This forces a minor API change in SAX.Readers for some of the subprograms, which are likely not used by customers since they only deal with the DTD which XML/Ada doesn't use anyway Emmanuel Briot 2006-05-04 09:46:10 +00:00
  • 9d8f4565b7 (Print): Do not print the definition of the "xml" namespace, since this is predefined Emmanuel Briot 2006-05-03 14:02:19 +00:00
  • 5af4f09a16 (Print): Fix double-deallocation reported by valgrind, when using shared strings Emmanuel Briot 2006-05-03 13:55:07 +00:00
  • 898ef74cb5 Make valgrind happy with a "conditional jump depends on uninitialized variable". These were all gratuitous warnings in this case, but that makes valgrind's output more readable in any case Emmanuel Briot 2006-05-03 13:40:50 +00:00
  • da2c549e46 (Is_Valid_URN): Remove check for the third part of the urn as in current usage this is optional. Work for F502-022. Minor reformatting. Pascal Obry 2006-05-03 13:30:00 +00:00
  • 9660e9b6b3 (Print_Namespace_Declaration_Attribute): New subprogram (Print_Namespace_Declaration_Element): Also output the required namespaces for the attributes. Fixes regression in the ACT testsuite Emmanuel Briot 2006-05-03 13:22:47 +00:00
  • 7e7937329a (Recursive_Print): avoid duplicate of namespace declarations, reported in F503-007 Emmanuel Briot 2006-05-03 12:58:55 +00:00
  • bc34a2e19d Make this file valid XML once again, although no such guarantee is made Emmanuel Briot 2006-05-03 12:38:37 +00:00
  • 36f1602868 Error message now speaks of IRI instead of URI, to be more precise. Part of F502-022 Emmanuel Briot 2006-05-03 08:45:56 +00:00
  • d4c35491a3 ("-verbose"): new switch Emmanuel Briot 2006-05-03 08:17:16 +00:00
  • 2978886402 (URN_Sequence): new constant Emmanuel Briot 2006-05-03 08:16:55 +00:00
  • 6a5c18603e Add new field to save the document's XML version. Reorganize fields in the parser record for better alignments Emmanuel Briot 2006-05-03 08:16:02 +00:00
  • a4ef5f1376 (Is_Valid_URN, Is_Valid_IRI): new subprograms, for F502-022 Emmanuel Briot 2006-05-03 08:15:21 +00:00
  • c5dd526406 Remove redundant dependency on Ada.Text_IO. Thomas Quinot 2006-04-28 16:43:07 +00:00
  • c00ff98aaf Added domschemaexample Emmanuel Briot 2006-04-27 13:42:41 +00:00
  • 8b0f85d5bf Remove section on XML/GTK, since this module is now part of GtkAda, not of XML/Ada Add new section on validating documents with DOM Emmanuel Briot 2006-04-27 13:41:52 +00:00
  • 7088fad385 Reference local project files, instead of relying on an installed version of XML/Ada to build the doc Emmanuel Briot 2006-04-27 13:41:25 +00:00
  • f69ac02da0 New example for DOM/Schema interaction Emmanuel Briot 2006-04-27 13:41:05 +00:00
  • 3d9b428773 Force the build of the examples before building the doc, to ensure they are correct Emmanuel Briot 2006-04-27 13:40:54 +00:00
  • e2cab84adc Added testdomschema.adb Emmanuel Briot 2006-04-27 13:31:25 +00:00
  • 819567d288 Add new test driver generating a DOM tree after validation Emmanuel Briot 2006-04-27 13:31:10 +00:00
  • cfbbc704d5 Initial revision Emmanuel Briot 2006-04-27 13:30:49 +00:00
  • 8cd75daf18 Update copyright notice, since there has been changed this year Emmanuel Briot 2006-04-27 13:01:51 +00:00
  • 89ea2a6698 Makefile.314 is generated by configure Emmanuel Briot 2006-04-27 12:55:45 +00:00
  • eb6e4a4c70 shared.gpr is generated by configure Emmanuel Briot 2006-04-27 12:55:28 +00:00
  • bb7ab416e3 default.gpr is generated by configure.in Emmanuel Briot 2006-04-27 12:55:12 +00:00
  • 2365fb2559 Add files automatically generated Emmanuel Briot 2006-04-27 12:54:52 +00:00
  • 7041ccc64a Merge the xmlada-xml_1_1 branch with HEAD. We still do not fully support XML 1.1, but the code has been cleaned up somewhat to match more recent versions of the XML testsuite, improve the support for schemas,... and is thus in good shape for distribution at this stage Emmanuel Briot 2006-04-27 12:52:07 +00:00
  • 8d1deb80a3 Version is now 2.2w on HEAD as well Emmanuel Briot 2006-04-27 12:43:01 +00:00
  • df27645a83 (Copy): New subprogram. Restrictions and Extensions were not checking their base type's facet, and this subprogram is needed to properly inherit those facets. Emmanuel Briot 2006-04-27 12:35:56 +00:00
  • d088b58a8b (Copy): New subprogram. Restrictions and Extensions were not checking their base type's facet, and this subprogram is needed to properly inherit those facets. (base64Binary_Get_Length, Is_Valid_Base64Binary): New subprograms. Add support for the base64Binary type (F427-004) Emmanuel Briot 2006-04-27 12:35:46 +00:00
  • 9abd8444ac (Adjust): Fix handling of null initial values Emmanuel Briot 2006-04-27 12:34:23 +00:00
  • ea173f190f Added support for NIST base64Binary type (F427-004) Emmanuel Briot 2006-04-27 12:33:23 +00:00
  • 9f57f9a295 (testdomschema): new main unit Emmanuel Briot 2006-04-27 07:23:22 +00:00
  • 92c2088974 Fix expected output after changes in the SAX parser Emmanuel Briot 2006-04-27 07:22:41 +00:00
  • c5fd939ab9 Added missing file, as per F427-003 Emmanuel Briot 2006-04-27 07:22:27 +00:00
  • ab36d82b3f Minor edit, adapt to new warnings in the compiler. Nicolas Setton 2006-04-10 09:23:07 +00:00
  • 0f325d6373 (Check_Replacement): Fix "always true" variable, reported by recent versions of GNAT Emmanuel Briot 2006-04-10 07:09:58 +00:00
  • b8292353b5 Fix typo in previous check in Emmanuel Briot 2006-01-18 11:38:29 +00:00
  • 4d470c8471 (test): take into account the LIBRARY_TYPE. Fixes nightly run on aachen Emmanuel Briot 2006-01-18 08:44:50 +00:00
  • a6764fc5db Remove unnecessary 'in' keywords. For DA18-006 Thomas Quinot 2006-01-10 10:56:39 +00:00
  • d8b5352640 Add new entry for the handling of 3.3.3 (normalization of attribute values) gnat-5_04 gnat-5.04 Emmanuel Briot 2006-01-05 10:58:06 +00:00
  • 07724a0ead (Get_String): parameter renamed to Collapse_Spaces, more explicit (Parse_Start_Tag): do not collapse space sequences if the attribute is of type CDATA, according to 3.3.3. Emmanuel Briot 2006-01-05 10:56:05 +00:00
  • 617c351486 (Get_Attribute_Type): according to 3.3.3, an undefined attribute should be considered as CDATA Emmanuel Briot 2006-01-05 10:54:45 +00:00
  • 3e93c9ccad Add entry for EB02-005 Emmanuel Briot 2006-01-03 12:12:17 +00:00
  • dc37c21473 (Print): Moved to body (Print): New parameter Collapse_Empty_Nodes. Part of EB02-005 Emmanuel Briot 2006-01-03 12:10:52 +00:00