├── .cvsignore ├── .gitattributes ├── .gitignore ├── .gitlab-ci.plan ├── .gitlab-ci.yml ├── .gitreview ├── AUTHORS ├── COPYING.RUNTIME ├── COPYING3 ├── Makefile.in ├── Makefile.vms ├── README.md ├── TODO ├── aclocal.m4 ├── config.guess ├── config.sub ├── configure ├── configure.in ├── distrib └── xmlada.gpr ├── docs ├── Makefile ├── adacore-logo-white.png ├── conf.py ├── cross │ ├── README │ ├── dom │ │ ├── default.gpr │ │ └── domexample.adb │ ├── sax │ │ ├── default.gpr │ │ ├── saxexample.adb │ │ ├── saxexample.ads │ │ └── saxexample_main.adb │ └── schema │ │ ├── default.gpr │ │ └── schemaexample.adb ├── dom.rst ├── dom │ ├── convert.adb │ ├── default.gpr │ ├── dom_with_location.adb │ ├── dom_with_location.ads │ ├── domexample.adb │ ├── domexample2.adb │ ├── domschemaexample.adb │ ├── pref.xml │ ├── pref.xsd │ └── pref_with_xsd.xml ├── favicon.ico ├── index.rst ├── input.rst ├── intro.rst ├── sax.rst ├── sax │ ├── default.gpr │ ├── pref.xml │ ├── saxexample.adb │ ├── saxexample.ads │ └── saxexample_main.adb ├── schema.rst ├── schema │ ├── default.gpr │ ├── pref.xml │ ├── pref.xsd │ └── schemaexample.adb ├── unicode.rst └── using.rst ├── dom ├── dom-core-attrs.adb ├── dom-core-attrs.ads ├── dom-core-cdata_sections.ads ├── dom-core-character_datas.adb ├── dom-core-character_datas.ads ├── dom-core-comments.ads ├── dom-core-document_fragments.ads ├── dom-core-document_types.adb ├── dom-core-document_types.ads ├── dom-core-documents.adb ├── dom-core-documents.ads ├── dom-core-elements.adb ├── dom-core-elements.ads ├── dom-core-entity_references.ads ├── dom-core-nodes.adb ├── dom-core-nodes.ads ├── dom-core-notations.adb ├── dom-core-notations.ads ├── dom-core-processing_instructions.ads ├── dom-core-texts.adb ├── dom-core-texts.ads ├── dom-core.adb ├── dom-core.ads ├── dom-readers.adb ├── dom-readers.ads ├── dom.ads ├── lib │ ├── .cvsignore │ ├── relocatable │ │ └── .cvsignore │ └── static │ │ └── .cvsignore ├── obj │ ├── .cvsignore │ ├── relocatable │ │ └── .cvsignore │ └── static │ │ └── .cvsignore └── xmlada_dom.gpr ├── gnat.adc ├── gnat_debug.adc ├── gnat_optimize.adc ├── input_sources ├── input_sources-file.adb ├── input_sources-file.ads ├── input_sources-http.adb ├── input_sources-http.ads ├── input_sources-socket.adb ├── input_sources-socket.ads ├── input_sources-strings.adb ├── input_sources-strings.ads ├── input_sources.adb ├── input_sources.ads ├── lib │ ├── .cvsignore │ ├── relocatable │ │ └── .cvsignore │ └── static │ │ └── .cvsignore ├── obj │ ├── .cvsignore │ ├── relocatable │ │ └── .cvsignore │ └── static │ │ └── .cvsignore └── xmlada_input.gpr ├── install-sh ├── sax ├── sax-attributes.adb ├── sax-attributes.ads ├── sax-encodings.ads ├── sax-exceptions.adb ├── sax-exceptions.ads ├── sax-htable.adb ├── sax-htable.ads ├── sax-locators.adb ├── sax-locators.ads ├── sax-models.adb ├── sax-models.ads ├── sax-pointers.adb ├── sax-pointers.ads ├── sax-readers.adb ├── sax-readers.ads ├── sax-state_machines.adb ├── sax-state_machines.ads ├── sax-symbols.adb ├── sax-symbols.ads ├── sax-utils.adb ├── sax-utils.ads ├── sax.ads └── xmlada_sax.gpr ├── schema ├── lib │ ├── .cvsignore │ ├── relocatable │ │ └── .cvsignore │ └── static │ │ └── .cvsignore ├── obj │ └── .cvsignore ├── schema-date_time.adb ├── schema-date_time.ads ├── schema-decimal.adb ├── schema-decimal.ads ├── schema-dom_readers.adb ├── schema-dom_readers.ads ├── schema-readers.adb ├── schema-readers.ads ├── schema-schema_readers.adb ├── schema-schema_readers.ads ├── schema-simple_types.adb ├── schema-simple_types.ads ├── schema-validators-xsd_grammar.adb ├── schema-validators-xsd_grammar.ads ├── schema-validators.adb ├── schema-validators.ads ├── schema.adb ├── schema.ads └── xmlada_schema.gpr ├── tests ├── Makefile ├── base64 │ ├── base64_test.gpr │ ├── test_base64.adb │ └── test_base64.expected ├── dom │ ├── conformance │ │ ├── conformance.gpr │ │ ├── dom_conformance.adb │ │ ├── driver.adb │ │ ├── driver.ads │ │ └── run.sh │ ├── default.gpr.in │ ├── disable │ ├── dom_test.gpr │ ├── ea03_006.adb │ ├── sanity.gpr │ ├── string_stream.adb │ ├── string_stream.ads │ ├── test.xml │ ├── test_chardata.adb │ ├── test_node.adb │ ├── testxml.adb │ ├── testxml.expected │ ├── testxml_support.adb │ ├── testxml_support.ads │ └── tostring.adb ├── examples │ ├── domexample2.expected │ └── saxexample_main.expected ├── results │ └── .gitignore ├── sax │ ├── debug_readers.adb │ ├── debug_readers.ads │ ├── sax_test.gpr │ ├── schaefer.xml │ ├── t2.xml │ ├── t4.xml │ ├── testsax.adb │ ├── teststate.adb │ └── teststate.expected ├── schema │ ├── cleanup_schema.adb │ ├── disable │ ├── multiple_xsd │ │ ├── algo1.xsd │ │ ├── algo2.xsd │ │ ├── default.gpr │ │ ├── test1.xml │ │ ├── test2.xml │ │ └── validate.adb │ ├── schema_test.gpr │ ├── schematest.adb │ ├── schematest.expected │ ├── test.xml │ ├── test.xsd │ ├── test_date_time.adb │ ├── test_date_time.expected │ ├── testdomschema.adb │ ├── testnumbers.adb │ ├── testnumbers.expected │ └── testschema.adb └── unicode │ ├── test_unicode.adb │ ├── test_unicode.expected │ └── unicode_test.gpr ├── unicode ├── importer │ ├── Makefile │ ├── convert.adb │ ├── convert.gpr │ ├── license.txt │ ├── translators-alias.adb │ ├── translators-alias.ads │ ├── translators-block.adb │ ├── translators-block.ads │ ├── translators.adb │ └── translators.ads ├── lib │ ├── .cvsignore │ ├── relocatable │ │ └── .cvsignore │ └── static │ │ └── .cvsignore ├── obj │ ├── .cvsignore │ ├── relocatable │ │ └── .cvsignore │ └── static │ │ └── .cvsignore ├── unicode-ccs-iso_8859_1.adb ├── unicode-ccs-iso_8859_1.ads ├── unicode-ccs-iso_8859_15.adb ├── unicode-ccs-iso_8859_15.ads ├── unicode-ccs-iso_8859_2.adb ├── unicode-ccs-iso_8859_2.ads ├── unicode-ccs-iso_8859_3.adb ├── unicode-ccs-iso_8859_3.ads ├── unicode-ccs-iso_8859_4.adb ├── unicode-ccs-iso_8859_4.ads ├── unicode-ccs-windows_1251.adb ├── unicode-ccs-windows_1251.ads ├── unicode-ccs-windows_1252.adb ├── unicode-ccs-windows_1252.ads ├── unicode-ccs.adb ├── unicode-ccs.ads ├── unicode-ces-basic_8bit.adb ├── unicode-ces-basic_8bit.ads ├── unicode-ces-utf16.adb ├── unicode-ces-utf16.ads ├── unicode-ces-utf32.adb ├── unicode-ces-utf32.ads ├── unicode-ces-utf8.adb ├── unicode-ces-utf8.ads ├── unicode-ces.adb ├── unicode-ces.ads ├── unicode-encodings.adb ├── unicode-encodings.ads ├── unicode-names-aegean_numbers.ads ├── unicode-names-ahom.ads ├── unicode-names-alchemical_symbols.ads ├── unicode-names-alpha_presentation_forms.ads ├── unicode-names-anatolian_hieroglyphs.ads ├── unicode-names-ancient_greek_music.ads ├── unicode-names-ancient_greek_numbers.ads ├── unicode-names-ancient_symbols.ads ├── unicode-names-arabic.ads ├── unicode-names-arabic_extended_a.ads ├── unicode-names-arabic_math_alpha_symb.ads ├── unicode-names-arabic_present_formsa.ads ├── unicode-names-arabic_present_formsb.ads ├── unicode-names-arabic_supplement.ads ├── unicode-names-armenian.ads ├── unicode-names-arrows.ads ├── unicode-names-avestan.ads ├── unicode-names-balinese.ads ├── unicode-names-bamum.ads ├── unicode-names-bamum_supplement.ads ├── unicode-names-basic_latin.ads ├── unicode-names-bassa_vah.ads ├── unicode-names-batak.ads ├── unicode-names-bengali.ads ├── unicode-names-block_elements.ads ├── unicode-names-bopomofo.ads ├── unicode-names-bopomofo_extended.ads ├── unicode-names-box_drawing.ads ├── unicode-names-brahmi.ads ├── unicode-names-braille_patterns.ads ├── unicode-names-buginese.ads ├── unicode-names-buhid.ads ├── unicode-names-byzantine_musical_symbols.ads ├── unicode-names-canadian_aboriginal.ads ├── unicode-names-canadian_aboriginal_ext.ads ├── unicode-names-carian.ads ├── unicode-names-caucasian_albanian.ads ├── unicode-names-chakma.ads ├── unicode-names-cham.ads ├── unicode-names-cherokee.ads ├── unicode-names-cherokee_supplement.ads ├── unicode-names-cjk_compat_ideo_sup.ads ├── unicode-names-cjk_compat_ideographs.ads ├── unicode-names-cjk_compatibility.ads ├── unicode-names-cjk_compatibility_forms.ads ├── unicode-names-cjk_letters_months.ads ├── unicode-names-cjk_radicals_supplement.ads ├── unicode-names-cjk_strokes.ads ├── unicode-names-cjk_symbols_and_punct.ads ├── unicode-names-combining_diacritical.ads ├── unicode-names-combining_diacritical_ext.ads ├── unicode-names-combining_diacritical_sup.ads ├── unicode-names-combining_diacritical_sym.ads ├── unicode-names-combining_half_marks.ads ├── unicode-names-common_indic_number_forms.ads ├── unicode-names-control_pictures.ads ├── unicode-names-coptic.ads ├── unicode-names-coptic_epact_numbers.ads ├── unicode-names-counting_rod_numerals.ads ├── unicode-names-cuneiform.ads ├── unicode-names-cuneiform_num_punctuation.ads ├── unicode-names-currency_symbols.ads ├── unicode-names-cypriot_syllabary.ads ├── unicode-names-cyrillic.ads ├── unicode-names-cyrillic_extended_a.ads ├── unicode-names-cyrillic_extended_b.ads ├── unicode-names-cyrillic_supplement.ads ├── unicode-names-deseret.ads ├── unicode-names-devanagari.ads ├── unicode-names-devanagari_extended.ads ├── unicode-names-dingbats.ads ├── unicode-names-domino_tiles.ads ├── unicode-names-duployan.ads ├── unicode-names-early_dynastic_cuneiform.ads ├── unicode-names-egyptian_hieroglyphs.ads ├── unicode-names-elbasan.ads ├── unicode-names-emoticons.ads ├── unicode-names-enclosed_alphanum_sup.ads ├── unicode-names-enclosed_alphanumerics.ads ├── unicode-names-enclosed_ideographic_sup.ads ├── unicode-names-ethiopic.ads ├── unicode-names-ethiopic_extended.ads ├── unicode-names-ethiopic_extended_a.ads ├── unicode-names-ethiopic_supplement.ads ├── unicode-names-general_punctuation.ads ├── unicode-names-geometric_shapes.ads ├── unicode-names-geometric_shapes_extended.ads ├── unicode-names-georgian.ads ├── unicode-names-georgian_supplement.ads ├── unicode-names-glagolitic.ads ├── unicode-names-gothic.ads ├── unicode-names-grantha.ads ├── unicode-names-greek_and_coptic.ads ├── unicode-names-greek_extended.ads ├── unicode-names-gujarati.ads ├── unicode-names-gurmukhi.ads ├── unicode-names-half_full_width_forms.ads ├── unicode-names-hangul_compatibility_jamo.ads ├── unicode-names-hangul_jamo.ads ├── unicode-names-hangul_jamo_extended_a.ads ├── unicode-names-hangul_jamo_extended_b.ads ├── unicode-names-hanunoo.ads ├── unicode-names-hatran.ads ├── unicode-names-hebrew.ads ├── unicode-names-hiragana.ads ├── unicode-names-ideograph_descr_chars.ads ├── unicode-names-imperial_aramaic.ads ├── unicode-names-inscriptional_pahlavi.ads ├── unicode-names-inscriptional_parthian.ads ├── unicode-names-ipa_extensions.ads ├── unicode-names-javanese.ads ├── unicode-names-kaithi.ads ├── unicode-names-kana_supplement.ads ├── unicode-names-kanbun.ads ├── unicode-names-kangxi_radicals.ads ├── unicode-names-kannada.ads ├── unicode-names-katakana.ads ├── unicode-names-katakana_phonetic_ext.ads ├── unicode-names-kayah_li.ads ├── unicode-names-kharoshthi.ads ├── unicode-names-khmer.ads ├── unicode-names-khmer_symbols.ads ├── unicode-names-khojki.ads ├── unicode-names-khudawadi.ads ├── unicode-names-lao.ads ├── unicode-names-latin_1_supplement.ads ├── unicode-names-latin_extended_a.ads ├── unicode-names-latin_extended_additional.ads ├── unicode-names-latin_extended_b.ads ├── unicode-names-latin_extended_c.ads ├── unicode-names-latin_extended_d.ads ├── unicode-names-latin_extended_e.ads ├── unicode-names-lepcha.ads ├── unicode-names-letterlike_symbols.ads ├── unicode-names-limbu.ads ├── unicode-names-linear_a.ads ├── unicode-names-linear_b_ideograms.ads ├── unicode-names-linear_b_syllabary.ads ├── unicode-names-lisu.ads ├── unicode-names-lycian.ads ├── unicode-names-lydian.ads ├── unicode-names-mahajani.ads ├── unicode-names-mahjong_tiles.ads ├── unicode-names-malayalam.ads ├── unicode-names-mandaic.ads ├── unicode-names-manichaean.ads ├── unicode-names-math_alphanumeric_symb.ads ├── unicode-names-mathematical_operators.ads ├── unicode-names-meetei_mayek.ads ├── unicode-names-meetei_mayek_extensions.ads ├── unicode-names-mende_kikakui.ads ├── unicode-names-meroitic_cursive.ads ├── unicode-names-meroitic_hieroglyphs.ads ├── unicode-names-miao.ads ├── unicode-names-misc_math_symbols_a.ads ├── unicode-names-misc_math_symbols_b.ads ├── unicode-names-misc_symbols_and_arrows.ads ├── unicode-names-misc_symbols_pictographs.ads ├── unicode-names-miscellaneous_symbols.ads ├── unicode-names-miscellaneous_technical.ads ├── unicode-names-modi.ads ├── unicode-names-modifier_tone_letters.ads ├── unicode-names-mongolian.ads ├── unicode-names-mro.ads ├── unicode-names-multani.ads ├── unicode-names-musical_symbols.ads ├── unicode-names-myanmar.ads ├── unicode-names-myanmar_extended_a.ads ├── unicode-names-myanmar_extended_b.ads ├── unicode-names-nabataean.ads ├── unicode-names-new_tai_lue.ads ├── unicode-names-nko.ads ├── unicode-names-number_forms.ads ├── unicode-names-ogham.ads ├── unicode-names-ol_chiki.ads ├── unicode-names-old_hungarian.ads ├── unicode-names-old_italic.ads ├── unicode-names-old_north_arabian.ads ├── unicode-names-old_permic.ads ├── unicode-names-old_persian.ads ├── unicode-names-old_south_arabian.ads ├── unicode-names-old_turkic.ads ├── unicode-names-optical_chars_recognition.ads ├── unicode-names-oriya.ads ├── unicode-names-ornamental_dingbats.ads ├── unicode-names-osmanya.ads ├── unicode-names-pahawh_hmong.ads ├── unicode-names-palmyrene.ads ├── unicode-names-pau_cin_hau.ads ├── unicode-names-phags_pa.ads ├── unicode-names-phaistos_disc.ads ├── unicode-names-phoenician.ads ├── unicode-names-phonetic_ext_sup.ads ├── unicode-names-phonetic_extensions.ads ├── unicode-names-playing_cards.ads ├── unicode-names-psalter_pahlavi.ads ├── unicode-names-rejang.ads ├── unicode-names-rumi_numeral_symbols.ads ├── unicode-names-runic.ads ├── unicode-names-samaritan.ads ├── unicode-names-saurashtra.ads ├── unicode-names-sharada.ads ├── unicode-names-shavian.ads ├── unicode-names-shorthand_format_controls.ads ├── unicode-names-siddham.ads ├── unicode-names-sinhala.ads ├── unicode-names-sinhala_archaic_numbers.ads ├── unicode-names-small_form_variants.ads ├── unicode-names-sora_sompeng.ads ├── unicode-names-spacing_modifier_letters.ads ├── unicode-names-specials.ads ├── unicode-names-sundanese.ads ├── unicode-names-sundanese_supplement.ads ├── unicode-names-sup_math_operators.ads ├── unicode-names-sup_symbols_pictographs.ads ├── unicode-names-super_and_sub_scripts.ads ├── unicode-names-supplemental_arrows_a.ads ├── unicode-names-supplemental_arrows_b.ads ├── unicode-names-supplemental_arrows_c.ads ├── unicode-names-supplemental_punctuation.ads ├── unicode-names-sutton_signwriting.ads ├── unicode-names-syloti_nagri.ads ├── unicode-names-syriac.ads ├── unicode-names-tagalog.ads ├── unicode-names-tagbanwa.ads ├── unicode-names-tags.ads ├── unicode-names-tai_le.ads ├── unicode-names-tai_tham.ads ├── unicode-names-tai_viet.ads ├── unicode-names-tai_xuan_jing_symbols.ads ├── unicode-names-takri.ads ├── unicode-names-tamil.ads ├── unicode-names-telugu.ads ├── unicode-names-thaana.ads ├── unicode-names-thai.ads ├── unicode-names-tibetan.ads ├── unicode-names-tifinagh.ads ├── unicode-names-tirhuta.ads ├── unicode-names-transport_and_map_symbols.ads ├── unicode-names-ugaritic.ads ├── unicode-names-vai.ads ├── unicode-names-variation_selectors.ads ├── unicode-names-variation_selectors_sup.ads ├── unicode-names-vedic_extensions.ads ├── unicode-names-vertical_forms.ads ├── unicode-names-warang_citi.ads ├── unicode-names-yi_radicals.ads ├── unicode-names-yi_syllables.ads ├── unicode-names-yijing_hexagram_symbols.ads ├── unicode-names.ads ├── unicode.adb ├── unicode.ads └── xmlada_unicode.gpr ├── xmlada-roadmap.txt ├── xmlada.gpr └── xmlada_shared.gpr.in /.cvsignore: -------------------------------------------------------------------------------- 1 | config.log 2 | gnat.adc 3 | config.cache 4 | config.status 5 | Makefile 6 | shared.gpr 7 | xmlada-config 8 | Makefile.314 9 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # This file lists all files that do not require style checks 2 | docs/dom/* no-precommit-check 3 | dom/tests/* no-precommit-check 4 | dom/test/act_testsuite/*/* no-precommit-check 5 | tests/schema/multiple_xsd/* no-precommit-check 6 | unicode/unicode-names-*.ads no-precommit-check 7 | 8 | # Lines too long in these files 9 | COPYING.RUNTIME no-precommit-check 10 | README.md no-precommit-check 11 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | /Makefile 3 | autom4te.cache/ 4 | Makefile.314 5 | config.log 6 | config.status 7 | distrib/xmlada_shared.gpr 8 | 9 | docs/schema/schemaexample 10 | docs/dom/domexample 11 | docs/dom/domexample2 12 | docs/dom/domschemaexample 13 | docs/_build 14 | 15 | tests/sax/obj 16 | tests/dom/default.gpr 17 | tests/dom/tests 18 | tests/dom/obj 19 | tests/dom/testxml_tmp* 20 | tests/dom/xmlconf-* 21 | tests/dom/xmlts20080827* 22 | tests/adacore/dom/test_act.out 23 | tests/adacore/dom/CC01-006/my_test 24 | tests/adacore/dom/EA03-006/reproducer 25 | tests/adacore/dom/N910-017/obj 26 | tests/adacore/dom/N411-012/merge 27 | tests/adacore/schema/tasking/concurrent 28 | tests/adacore/schema/M325-034/read_xml 29 | tests/schema/obj 30 | tests/schema/tests 31 | tests/schema/xmltests 32 | tests/schema/xmlschema2006-11-06 33 | tests/schema/xmltests.2002-01-16 34 | tests/schema/test_date_time 35 | tests/schema/multiple_xsd/validate 36 | test/*/*.diff 37 | test/*/*.out 38 | test/*/*.tmp_out 39 | tests/unicode/obj 40 | tests/results/*out 41 | tests/results/*diff 42 | 43 | xmlada_shared.gpr 44 | auto.cgpr 45 | tmp.out 46 | *tmp_out 47 | *.o 48 | *.ali 49 | *.std* 50 | b~*.ad* 51 | b__*.ad* 52 | *.bexch 53 | *.a 54 | *.so.* 55 | *.so 56 | *.gcda 57 | *.gcno 58 | *.gcov 59 | *.lexch 60 | *.bexch 61 | *.dll 62 | *dylib* 63 | gnatinspect.db 64 | xmlada-loc.xml 65 | -------------------------------------------------------------------------------- /.gitlab-ci.plan: -------------------------------------------------------------------------------- 1 | 2 | def build(): 3 | anod_build("xmlada") 4 | 5 | def test(): 6 | anod_install("xmlada") 7 | anod_test("xmlada") 8 | -------------------------------------------------------------------------------- /.gitlab-ci.yml: -------------------------------------------------------------------------------- 1 | stages: 2 | - build 3 | - test 4 | - check 5 | 6 | include: 7 | # Issue check 8 | - component: $CI_SERVER_FQDN/eng/gitlab-templates/check-issue@~latest 9 | 10 | # Build & test 11 | - component: $CI_SERVER_FQDN/eng/gitlab-templates/build@~latest 12 | inputs: 13 | anod-args: run build --latest 14 | save-component: true 15 | 16 | - component: $CI_SERVER_FQDN/eng/gitlab-templates/test@~latest 17 | inputs: 18 | anod-args: run test 19 | 20 | -------------------------------------------------------------------------------- /.gitreview: -------------------------------------------------------------------------------- 1 | [gerrit] 2 | host = git.adacore.com 3 | port = 29418 4 | project = xmlada 5 | defaultbranch = master 6 | defaultremote = origin 7 | -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- 1 | Unicode, SAX, DOM implementations: 2 | Emmanuel Briot 3 | 4 | Initial Http input: 5 | Christophe Baillon (ITRIS) 6 | 7 | ISO 8859-15 support: 8 | Martin Krischik 9 | 10 | Initial Incomplete_Encoding support: 11 | Input_Sources.Socket contribution: 12 | Jehan Pages 13 | -------------------------------------------------------------------------------- /TODO: -------------------------------------------------------------------------------- 1 | 2 | 3 | Put the contents of the README into the documentation. 4 | First, we need to distribute a pre-compiled documentation 5 | 6 | xml module: 7 | ============ 8 | 9 | * DOM requires Utf16-encoding for strings. 10 | Can we make all the packages generic, so that the user can decide whether 11 | to use Utf16 or Utf8 ? 12 | 13 | * Unicode: Add conversion to Wide_Char and Wide_String 14 | 15 | * Support for xml:* attributes (space, ...) 16 | Note that xml:space means that we must use the Ignorable_Whitespace callback 17 | in SAX. 18 | 19 | * Should Encoding_Scheme include support for From_Utf32 and To_Utf32 20 | 21 | * Unicode: http://www.unicode.org/unicode/standard/versions/Unicode3.0.html 22 | 23 | * DOM: Finish implementation for the few remaining cases 24 | 25 | * SAX: Should have a feature to specify whether entity refs in attribute 26 | values should be expanded or not 27 | 28 | * Parser: Checking of self-contained entities could be cleaner (ie done at 29 | a more general level). For instance, directly at the end of Next_Token, 30 | but we must exclude Text from the tests. 31 | 32 | * Can we implement the lexical parser as a state machine (Next_Char called 33 | at a single place). This might make it shorter (but probably not more 34 | efficient) 35 | 36 | Release 0.7 37 | =========== 38 | * Parse_Element_Model_From_Entity should use Next_Token (for entitites) 39 | * File_Input shouldn't store the whole file in memory (have a buffer of 64k 40 | instead). 41 | * No need to return Id in Next_Token, should be stored directly in 42 | Parser.Id. This would be more efficient. This allows for a simplification 43 | in Parse_Element_Model. 44 | * For efficiency, Sax.Attributes should be an array 45 | * We must normalize PublicID (see 4.2.2) 46 | * Group all DTD-related field into a separate record (Entities, Default_Atts) 47 | -------------------------------------------------------------------------------- /configure.in: -------------------------------------------------------------------------------- 1 | AC_INIT(XML/Ada,18.0w,support@adacore.com,xmlada) 2 | AC_CANONICAL_SYSTEM 3 | 4 | # Also update in AC_INIT above 5 | XMLADA_VERSION=AC_PACKAGE_VERSION() 6 | 7 | AM_GNAT_BUILDS_SHARED 8 | CHECK_BUILD_TYPE 9 | AM_SO_SUFFIX 10 | 11 | # Defaults 12 | AC_PROG_INSTALL 13 | AC_PROG_LN_S 14 | MKDIR="mkdir -p" 15 | 16 | # Overrides 17 | case "${host_os}" in 18 | lynxos*) 19 | CP="cp -p" 20 | MKDIR="mkdir -p -f" 21 | ;; 22 | 23 | cygwin*|mingw32*) 24 | LN="cp -p -f" 25 | ;; 26 | esac 27 | 28 | AC_SUBST(MKDIR) 29 | AC_SUBST(CC) 30 | 31 | LIB=`basename $libdir` 32 | AC_SUBST(LIB) 33 | 34 | AC_OUTPUT(xmlada_shared.gpr Makefile tests/dom/default.gpr) 35 | -------------------------------------------------------------------------------- /distrib/xmlada.gpr: -------------------------------------------------------------------------------- 1 | -- Project file for use of XML/Ada. 2 | -- Put the directory that contains xmlada.gpr in your ADA_PROJECT_PATH 3 | -- variable. Then, in our own project file, add a "with" dependency on 4 | -- "xmlada.gpr". 5 | 6 | with "xmlada_unicode", "xmlada_sax", "xmlada_input", "xmlada_dom"; 7 | with "xmlada_schema"; 8 | 9 | project Xmlada is 10 | for Source_Dirs use (); 11 | end Xmlada; 12 | -------------------------------------------------------------------------------- /docs/adacore-logo-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/docs/adacore-logo-white.png -------------------------------------------------------------------------------- /docs/cross/README: -------------------------------------------------------------------------------- 1 | This directory contains examples that are suitable for cross-compilation. 2 | They repeat the functionality of main examples, but have XML and XSD 3 | sources embebbed into ada code, since external file access may be 4 | a problem on a number of cross-platforms. -------------------------------------------------------------------------------- /docs/cross/dom/default.gpr: -------------------------------------------------------------------------------- 1 | with "xmlada"; 2 | project Default is 3 | for Main use ("domexample.adb"); 4 | end Default; 5 | -------------------------------------------------------------------------------- /docs/cross/dom/domexample.adb: -------------------------------------------------------------------------------- 1 | -- 2 | -- Copyright (C) 2017, AdaCore 3 | -- 4 | 5 | with Input_Sources.Strings; use Input_Sources.Strings; 6 | with Unicode.CES; use Unicode.CES; 7 | with Unicode.CES.Utf8; 8 | 9 | with Sax.Readers; use Sax.Readers; 10 | with DOM.Readers; use DOM.Readers; 11 | with DOM.Core; use DOM.Core; 12 | with DOM.Core.Documents; use DOM.Core.Documents; 13 | with DOM.Core.Nodes; use DOM.Core.Nodes; 14 | with DOM.Core.Attrs; use DOM.Core.Attrs; 15 | with GNAT.IO; use GNAT.IO; 16 | 17 | procedure DomExample is 18 | Input : String_Input; 19 | Reader : Tree_Reader; 20 | Doc : Document; 21 | List : Node_List; 22 | N : Node; 23 | A : Attr; 24 | 25 | XML_Source_String : constant Unicode.CES.Byte_Sequence := 26 | "" 27 | & "" 28 | & "Value1" 29 | & "Value2" 30 | & " "; 31 | begin 32 | Set_Public_Id (Input, "Preferences file"); 33 | Open (XML_Source_String, Unicode.CES.Utf8.Utf8_Encoding, Input); 34 | 35 | Set_Feature (Reader, Validation_Feature, False); 36 | Set_Feature (Reader, Namespace_Feature, False); 37 | 38 | Parse (Reader, Input); 39 | Close (Input); 40 | 41 | Doc := Get_Tree (Reader); 42 | 43 | List := Get_Elements_By_Tag_Name (Doc, "pref"); 44 | 45 | for Index in 1 .. Length (List) loop 46 | N := Item (List, Index - 1); 47 | A := Get_Named_Item (Attributes (N), "name"); 48 | Put_Line ("Value of """ & Value (A) & """ is " 49 | & Node_Value (First_Child (N))); 50 | end loop; 51 | 52 | Free (List); 53 | 54 | Free (Reader); 55 | end DomExample; 56 | -------------------------------------------------------------------------------- /docs/cross/sax/default.gpr: -------------------------------------------------------------------------------- 1 | with "xmlada"; 2 | project Default is 3 | for Main use ("saxexample_main.adb"); 4 | end Default; 5 | -------------------------------------------------------------------------------- /docs/cross/sax/saxexample.adb: -------------------------------------------------------------------------------- 1 | -- 2 | -- Copyright (C) 2017, AdaCore 3 | -- 4 | 5 | with Unicode.CES; use Unicode.CES; 6 | with Sax.Attributes; use Sax.Attributes; 7 | with GNAT.IO; use GNAT.IO; 8 | 9 | package body SaxExample is 10 | 11 | procedure Start_Element 12 | (Handler : in out Reader; 13 | Namespace_URI : Unicode.CES.Byte_Sequence := ""; 14 | Local_Name : Unicode.CES.Byte_Sequence := ""; 15 | Qname : Unicode.CES.Byte_Sequence := ""; 16 | Atts : Sax.Attributes.Attributes'Class) 17 | is 18 | begin 19 | Handler.Current_Pref := Null_Unbounded_String; 20 | Handler.Current_Value := Null_Unbounded_String; 21 | 22 | if Local_Name = "pref" then 23 | Handler.Current_Pref := 24 | To_Unbounded_String (Get_Value (Atts, "name")); 25 | end if; 26 | end Start_Element; 27 | 28 | procedure Characters 29 | (Handler : in out Reader; 30 | Ch : Unicode.CES.Byte_Sequence) is 31 | begin 32 | if Handler.Current_Pref /= Null_Unbounded_String then 33 | Handler.Current_Value := Handler.Current_Value & Ch; 34 | end if; 35 | end Characters; 36 | 37 | procedure End_Element 38 | (Handler : in out Reader; 39 | Namespace_URI : Unicode.CES.Byte_Sequence := ""; 40 | Local_Name : Unicode.CES.Byte_Sequence := ""; 41 | Qname : Unicode.CES.Byte_Sequence := "") 42 | is 43 | begin 44 | if Local_Name = "pref" then 45 | Put_Line ("Value for """ & To_String (Handler.Current_Pref) 46 | & """ is " & To_String (Handler.Current_Value)); 47 | end if; 48 | end End_Element; 49 | 50 | end SaxExample; 51 | -------------------------------------------------------------------------------- /docs/cross/sax/saxexample.ads: -------------------------------------------------------------------------------- 1 | -- 2 | -- Copyright (C) 2017, AdaCore 3 | -- 4 | 5 | with Sax.Readers; 6 | with Unicode.CES; 7 | with Sax.Attributes; 8 | with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; 9 | 10 | package SaxExample is 11 | 12 | type String_Access is access String; 13 | 14 | type Reader is new Sax.Readers.Reader with record 15 | Current_Pref : Unbounded_String; 16 | Current_Value : Unbounded_String; 17 | end record; 18 | 19 | procedure Start_Element 20 | (Handler : in out Reader; 21 | Namespace_URI : Unicode.CES.Byte_Sequence := ""; 22 | Local_Name : Unicode.CES.Byte_Sequence := ""; 23 | Qname : Unicode.CES.Byte_Sequence := ""; 24 | Atts : Sax.Attributes.Attributes'Class); 25 | 26 | procedure End_Element 27 | (Handler : in out Reader; 28 | Namespace_URI : Unicode.CES.Byte_Sequence := ""; 29 | Local_Name : Unicode.CES.Byte_Sequence := ""; 30 | Qname : Unicode.CES.Byte_Sequence := ""); 31 | 32 | procedure Characters 33 | (Handler : in out Reader; 34 | Ch : Unicode.CES.Byte_Sequence); 35 | 36 | end SaxExample; 37 | -------------------------------------------------------------------------------- /docs/cross/sax/saxexample_main.adb: -------------------------------------------------------------------------------- 1 | -- 2 | -- Copyright (C) 2017, AdaCore 3 | -- 4 | 5 | with Input_Sources.Strings; use Input_Sources.Strings; 6 | with Unicode.CES; use Unicode.CES; 7 | with Unicode.CES.Utf8; 8 | 9 | with Sax.Readers; use Sax.Readers; 10 | with SaxExample; use SaxExample; 11 | 12 | procedure SaxExample_Main is 13 | My_Reader : SaxExample.Reader; 14 | Input : String_Input; 15 | 16 | XML_Source_String : constant Unicode.CES.Byte_Sequence := 17 | "" 18 | & "" 19 | & "Value1" 20 | & "Value2" 21 | & " "; 22 | begin 23 | Set_Public_Id (Input, "Preferences file"); 24 | Set_System_Id (Input, "pref.xml"); 25 | Open (XML_Source_String, Unicode.CES.Utf8.Utf8_Encoding, Input); 26 | 27 | Set_Feature (My_Reader, Namespace_Prefixes_Feature, False); 28 | Set_Feature (My_Reader, Namespace_Feature, False); 29 | Set_Feature (My_Reader, Validation_Feature, False); 30 | 31 | Parse (My_Reader, Input); 32 | 33 | Close (Input); 34 | end SaxExample_Main; 35 | -------------------------------------------------------------------------------- /docs/cross/schema/default.gpr: -------------------------------------------------------------------------------- 1 | with "xmlada"; 2 | project Default is 3 | for Main use ("schemaexample.adb"); 4 | end Default; 5 | -------------------------------------------------------------------------------- /docs/cross/schema/schemaexample.adb: -------------------------------------------------------------------------------- 1 | -- 2 | -- Copyright (C) 2017, AdaCore 3 | -- 4 | 5 | with Input_Sources.Strings; use Input_Sources.Strings; 6 | with Unicode.CES; use Unicode.CES; 7 | with Unicode.CES.Utf8; 8 | 9 | with GNAT.IO; use GNAT.IO; 10 | with Sax.Readers; use Sax.Readers; 11 | with Schema.Readers; use Schema.Readers; 12 | with Schema.Schema_Readers; use Schema.Schema_Readers; 13 | with Schema.Validators; use Schema.Validators; 14 | 15 | procedure SchemaExample is 16 | Input, Schema_Input : String_Input; 17 | My_Reader : Validating_Reader; 18 | 19 | Grammar : XML_Grammar; 20 | Schema_From_String : Schema_Reader; 21 | 22 | XML_Source_String : constant Unicode.CES.Byte_Sequence := 23 | "" 24 | & "" 25 | & "Value1" 26 | & "Value2" 27 | & " "; 28 | 29 | XSD_Source_String : constant Unicode.CES.Byte_Sequence := 30 | "" 31 | & "" 32 | & " " 33 | & " " 34 | & " " 35 | & " " 37 | & " " 38 | & " " 39 | & " " 40 | & " " 41 | & " " 42 | & " " 44 | & " " 45 | & " " 46 | & ""; 47 | begin 48 | Open (XSD_Source_String, Unicode.CES.Utf8.Utf8_Encoding, Schema_Input); 49 | Parse (Schema_From_String, Schema_Input); 50 | Close (Schema_Input); 51 | 52 | Grammar := Get_Grammar (Schema_From_String); 53 | 54 | Set_Public_Id (Input, "Preferences file"); 55 | Open (XML_Source_String, Unicode.CES.Utf8.Utf8_Encoding, Input); 56 | 57 | Set_Feature (My_Reader, Schema_Validation_Feature, True); 58 | My_Reader.Set_Grammar (Grammar); 59 | 60 | Parse (My_Reader, Input); 61 | 62 | Close (Input); 63 | 64 | Put_Line ("OK"); 65 | 66 | exception 67 | when Schema.Validators.XML_Validation_Error => 68 | Put_Line ("ERROR: " & Get_Error_Message (My_Reader)); 69 | end SchemaExample; 70 | -------------------------------------------------------------------------------- /docs/dom/convert.adb: -------------------------------------------------------------------------------- 1 | Set_Attribute (N, Convert ("å", From => Get_By_Name ("iso-8859-15"))); 2 | -------------------------------------------------------------------------------- /docs/dom/default.gpr: -------------------------------------------------------------------------------- 1 | with "../../dom/xmlada_dom"; 2 | with "../../schema/xmlada_schema"; 3 | project Default is 4 | for Main use ("domexample.adb", "domexample2.adb", "domschemaexample.adb"); 5 | end Default; 6 | -------------------------------------------------------------------------------- /docs/dom/dom_with_location.adb: -------------------------------------------------------------------------------- 1 | -- 2 | -- Copyright (C) 2017, AdaCore 3 | -- 4 | 5 | with DOM.Core; use DOM.Core; 6 | with DOM.Core.Attrs; use DOM.Core.Attrs; 7 | with DOM.Core.Documents; use DOM.Core.Documents; 8 | with DOM.Core.Elements; use DOM.Core.Elements; 9 | with Sax.Locators; use Sax.Locators; 10 | 11 | package body DOM_With_Location is 12 | 13 | overriding procedure Start_Element 14 | (Handler : in out Tree_Reader_With_Location; 15 | NS : Sax.Utils.XML_NS; 16 | Local_Name : Sax.Symbols.Symbol; 17 | Atts : Sax_Attribute_List) 18 | is 19 | Att, Att2 : Attr; 20 | begin 21 | -- First create the node as usual 22 | Start_Element (Tree_Reader (Handler), NS, Local_Name, Atts); 23 | 24 | -- Then add the new attribute 25 | Att := Create_Attribute_NS 26 | (Get_Tree (Handler), 27 | Namespace_URI => "http://mydomain.com", 28 | Qualified_Name => "mydomain:location"); 29 | Set_Value (Att, To_String (Current_Location (Handler))); 30 | 31 | Att2 := Set_Attribute_Node (Handler.Current_Node, Att); 32 | end Start_Element; 33 | 34 | end DOM_With_Location; 35 | -------------------------------------------------------------------------------- /docs/dom/dom_with_location.ads: -------------------------------------------------------------------------------- 1 | -- 2 | -- Copyright (C) 2017, AdaCore 3 | -- 4 | 5 | with DOM.Readers; use DOM.Readers; 6 | with Sax.Utils; use Sax.Utils; 7 | with Sax.Readers; use Sax.Readers; 8 | with Sax.Symbols; use Sax.Symbols; 9 | 10 | package DOM_With_Location is 11 | 12 | type Tree_Reader_With_Location is new Tree_Reader with null record; 13 | overriding procedure Start_Element 14 | (Handler : in out Tree_Reader_With_Location; 15 | NS : Sax.Utils.XML_NS; 16 | Local_Name : Sax.Symbols.Symbol; 17 | Atts : Sax.Readers.Sax_Attribute_List); 18 | 19 | end DOM_With_Location; 20 | -------------------------------------------------------------------------------- /docs/dom/domexample.adb: -------------------------------------------------------------------------------- 1 | -- 2 | -- Copyright (C) 2017, AdaCore 3 | -- 4 | 5 | with Input_Sources.File; use Input_Sources.File; 6 | with Sax.Readers; use Sax.Readers; 7 | with DOM.Readers; use DOM.Readers; 8 | with DOM.Core; use DOM.Core; 9 | 10 | procedure DomExample is 11 | Input : File_Input; 12 | Reader : Tree_Reader; 13 | Doc : Document; 14 | begin 15 | Set_Public_Id (Input, "Preferences file"); 16 | Open ("pref.xml", Input); 17 | 18 | Set_Feature (Reader, Validation_Feature, False); 19 | Set_Feature (Reader, Namespace_Feature, False); 20 | 21 | Parse (Reader, Input); 22 | Close (Input); 23 | 24 | Doc := Get_Tree (Reader); 25 | 26 | Free (Reader); 27 | end DomExample; 28 | -------------------------------------------------------------------------------- /docs/dom/domexample2.adb: -------------------------------------------------------------------------------- 1 | -- 2 | -- Copyright (C) 2017, AdaCore 3 | -- 4 | 5 | with Input_Sources.File; use Input_Sources.File; 6 | with Sax.Readers; use Sax.Readers; 7 | with DOM.Readers; use DOM.Readers; 8 | with DOM.Core; use DOM.Core; 9 | with DOM.Core.Documents; use DOM.Core.Documents; 10 | with DOM.Core.Nodes; use DOM.Core.Nodes; 11 | with DOM.Core.Attrs; use DOM.Core.Attrs; 12 | with Ada.Text_IO; use Ada.Text_IO; 13 | 14 | procedure DomExample2 is 15 | Input : File_Input; 16 | Reader : Tree_Reader; 17 | Doc : Document; 18 | List : Node_List; 19 | N : Node; 20 | A : Attr; 21 | begin 22 | Set_Public_Id (Input, "Preferences file"); 23 | Open ("pref.xml", Input); 24 | 25 | Set_Feature (Reader, Validation_Feature, False); 26 | Set_Feature (Reader, Namespace_Feature, False); 27 | 28 | Parse (Reader, Input); 29 | Close (Input); 30 | 31 | Doc := Get_Tree (Reader); 32 | 33 | List := Get_Elements_By_Tag_Name (Doc, "pref"); 34 | 35 | for Index in 1 .. Length (List) loop 36 | N := Item (List, Index - 1); 37 | A := Get_Named_Item (Attributes (N), "name"); 38 | Put_Line ("Value of """ & Value (A) & """ is " 39 | & Node_Value (First_Child (N))); 40 | end loop; 41 | 42 | Free (List); 43 | 44 | Free (Reader); 45 | end DomExample2; 46 | -------------------------------------------------------------------------------- /docs/dom/domschemaexample.adb: -------------------------------------------------------------------------------- 1 | -- 2 | -- Copyright (C) 2017, AdaCore 3 | -- 4 | 5 | with Input_Sources.File; use Input_Sources.File; 6 | with Sax.Readers; use Sax.Readers; 7 | with DOM.Core; use DOM.Core; 8 | with Schema.Dom_Readers; use Schema.Dom_Readers; 9 | 10 | procedure DomSchemaExample is 11 | Input : File_Input; 12 | Reader : Schema.Dom_Readers.Tree_Reader; 13 | Doc : Document; 14 | begin 15 | Set_Public_Id (Input, "Preferences file"); 16 | Open ("pref_with_xsd.xml", Input); 17 | 18 | Set_Feature (Reader, Validation_Feature, False); 19 | 20 | Parse (Reader, Input); 21 | Close (Input); 22 | 23 | Doc := Get_Tree (Reader); 24 | 25 | Free (Reader); 26 | end DomSchemaExample; 27 | -------------------------------------------------------------------------------- /docs/dom/pref.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Value1 4 | Value2 5 | 6 | 7 | -------------------------------------------------------------------------------- /docs/dom/pref.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/dom/pref_with_xsd.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | Value1 5 | Value2 6 | 7 | 8 | -------------------------------------------------------------------------------- /docs/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/docs/favicon.ico -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- 1 | XML/Ada: The Unicode and XML Library for Ada 2 | ============================================ 3 | 4 | .. toctree:: 5 | :numbered: 6 | :maxdepth: 3 7 | 8 | intro 9 | unicode 10 | input 11 | sax 12 | dom 13 | schema 14 | using 15 | 16 | Copyright (C) 2000-2002, Emmanuel Briot 17 | 18 | Copyright (C) 2003-2011, AdaCore 19 | 20 | This document may be copied, in whole or in part, in any form or by any 21 | means, as is or with alterations, provided that (1) alterations are clearly 22 | marked as alterations and (2) this copyright notice is included 23 | unmodified in any copy. 24 | 25 | -------------------------------------------------------------------------------- /docs/intro.rst: -------------------------------------------------------------------------------- 1 | ************ 2 | Introduction 3 | ************ 4 | 5 | The Extensible Markup Language (XML) is a subset of SGML. Its goal is to enable 6 | generic SGML to be served, received, and processed on the Web in the way that 7 | is now possible with HTML. XML has been designed for ease of implementation and 8 | for interoperability with both SGML and HTML. 9 | 10 | This library includes a set of Ada95 packages to manipulate XML input. It 11 | implements the XML 1.0 standard (see the references at the end of this 12 | document), as well as support for namespaces and a number of other optional 13 | standards related to XML. 14 | 15 | We have tried to follow as closely as possible the XML standard, so that you 16 | can easily analyze and reuse languages produced for other languages. 17 | 18 | This document isn't a tutorial on what XML is, nor on the various standards 19 | like DOM and SAX. Although we will try and give a few examples, we refer the 20 | reader to the standards themselves, which are all easily readable. 21 | -------------------------------------------------------------------------------- /docs/sax/default.gpr: -------------------------------------------------------------------------------- 1 | with "../../sax/xmlada_sax"; 2 | project Default is 3 | for Main use ("saxexample_main.adb"); 4 | end Default; 5 | -------------------------------------------------------------------------------- /docs/sax/pref.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Value1 4 | Value2 5 | 6 | 7 | -------------------------------------------------------------------------------- /docs/sax/saxexample.adb: -------------------------------------------------------------------------------- 1 | -- 2 | -- Copyright (C) 2017, AdaCore 3 | -- 4 | 5 | with Unicode.CES; use Unicode.CES; 6 | with Sax.Attributes; use Sax.Attributes; 7 | with Ada.Text_IO; use Ada.Text_IO; 8 | 9 | package body SaxExample is 10 | 11 | procedure Start_Element 12 | (Handler : in out Reader; 13 | Namespace_URI : Unicode.CES.Byte_Sequence := ""; 14 | Local_Name : Unicode.CES.Byte_Sequence := ""; 15 | Qname : Unicode.CES.Byte_Sequence := ""; 16 | Atts : Sax.Attributes.Attributes'Class) 17 | is 18 | begin 19 | Handler.Current_Pref := Null_Unbounded_String; 20 | Handler.Current_Value := Null_Unbounded_String; 21 | 22 | if Local_Name = "pref" then 23 | Handler.Current_Pref := 24 | To_Unbounded_String (Get_Value (Atts, "name")); 25 | end if; 26 | end Start_Element; 27 | 28 | procedure Characters 29 | (Handler : in out Reader; 30 | Ch : Unicode.CES.Byte_Sequence) is 31 | begin 32 | if Handler.Current_Pref /= Null_Unbounded_String then 33 | Handler.Current_Value := Handler.Current_Value & Ch; 34 | end if; 35 | end Characters; 36 | 37 | procedure End_Element 38 | (Handler : in out Reader; 39 | Namespace_URI : Unicode.CES.Byte_Sequence := ""; 40 | Local_Name : Unicode.CES.Byte_Sequence := ""; 41 | Qname : Unicode.CES.Byte_Sequence := "") 42 | is 43 | begin 44 | if Local_Name = "pref" then 45 | Put_Line ("Value for """ & To_String (Handler.Current_Pref) 46 | & """ is " & To_String (Handler.Current_Value)); 47 | end if; 48 | end End_Element; 49 | 50 | end SaxExample; 51 | -------------------------------------------------------------------------------- /docs/sax/saxexample.ads: -------------------------------------------------------------------------------- 1 | -- 2 | -- Copyright (C) 2017, AdaCore 3 | -- 4 | 5 | with Sax.Readers; 6 | with Unicode.CES; 7 | with Sax.Attributes; 8 | with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; 9 | 10 | package SaxExample is 11 | 12 | type String_Access is access String; 13 | 14 | type Reader is new Sax.Readers.Reader with record 15 | Current_Pref : Unbounded_String; 16 | Current_Value : Unbounded_String; 17 | end record; 18 | 19 | procedure Start_Element 20 | (Handler : in out Reader; 21 | Namespace_URI : Unicode.CES.Byte_Sequence := ""; 22 | Local_Name : Unicode.CES.Byte_Sequence := ""; 23 | Qname : Unicode.CES.Byte_Sequence := ""; 24 | Atts : Sax.Attributes.Attributes'Class); 25 | 26 | procedure End_Element 27 | (Handler : in out Reader; 28 | Namespace_URI : Unicode.CES.Byte_Sequence := ""; 29 | Local_Name : Unicode.CES.Byte_Sequence := ""; 30 | Qname : Unicode.CES.Byte_Sequence := ""); 31 | 32 | procedure Characters 33 | (Handler : in out Reader; 34 | Ch : Unicode.CES.Byte_Sequence); 35 | 36 | end SaxExample; 37 | -------------------------------------------------------------------------------- /docs/sax/saxexample_main.adb: -------------------------------------------------------------------------------- 1 | -- 2 | -- Copyright (C) 2017, AdaCore 3 | -- 4 | 5 | with Sax.Readers; use Sax.Readers; 6 | with Input_Sources.File; use Input_Sources.File; 7 | with SaxExample; use SaxExample; 8 | 9 | procedure SaxExample_Main is 10 | My_Reader : SaxExample.Reader; 11 | Input : File_Input; 12 | begin 13 | Set_Public_Id (Input, "Preferences file"); 14 | Set_System_Id (Input, "pref.xml"); 15 | Open ("pref.xml", Input); 16 | 17 | Set_Feature (My_Reader, Namespace_Prefixes_Feature, False); 18 | Set_Feature (My_Reader, Namespace_Feature, False); 19 | Set_Feature (My_Reader, Validation_Feature, False); 20 | 21 | Parse (My_Reader, Input); 22 | 23 | Close (Input); 24 | end SaxExample_Main; 25 | -------------------------------------------------------------------------------- /docs/schema/default.gpr: -------------------------------------------------------------------------------- 1 | with "../../schema/xmlada_schema"; 2 | project Default is 3 | for Main use ("schemaexample.adb"); 4 | end Default; 5 | -------------------------------------------------------------------------------- /docs/schema/pref.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | Value1 5 | Value2 6 | 7 | 8 | -------------------------------------------------------------------------------- /docs/schema/pref.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/schema/schemaexample.adb: -------------------------------------------------------------------------------- 1 | -- 2 | -- Copyright (C) 2017, AdaCore 3 | -- 4 | 5 | with Ada.Text_IO; use Ada.Text_IO; 6 | with Sax.Readers; use Sax.Readers; 7 | with Schema.Readers; use Schema.Readers; 8 | with Schema.Validators; 9 | with Input_Sources.File; use Input_Sources.File; 10 | 11 | procedure SchemaExample is 12 | Input : File_Input; 13 | My_Reader : Validating_Reader; 14 | begin 15 | Set_Public_Id (Input, "Preferences file"); 16 | Open ("pref.xml", Input); 17 | 18 | Set_Feature (My_Reader, Schema_Validation_Feature, True); 19 | Parse (My_Reader, Input); 20 | 21 | Close (Input); 22 | 23 | exception 24 | when Schema.Validators.XML_Validation_Error => 25 | Put_Line ("ERROR: " & Get_Error_Message (My_Reader)); 26 | end SchemaExample; 27 | -------------------------------------------------------------------------------- /dom/dom-core-cdata_sections.ads: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------ 2 | -- XML/Ada - An XML suite for Ada95 -- 3 | -- -- 4 | -- Copyright (C) 2001-2017, AdaCore -- 5 | -- -- 6 | -- This library is free software; you can redistribute it and/or modify it -- 7 | -- under terms of the GNU General Public License as published by the Free -- 8 | -- Software Foundation; either version 3, or (at your option) any later -- 9 | -- version. This library is distributed in the hope that it will be useful, -- 10 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- 11 | -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- 12 | -- -- 13 | -- As a special exception under Section 7 of GPL version 3, you are granted -- 14 | -- additional permissions described in the GCC Runtime Library Exception, -- 15 | -- version 3.1, as published by the Free Software Foundation. -- 16 | -- -- 17 | -- You should have received a copy of the GNU General Public License and -- 18 | -- a copy of the GCC Runtime Library Exception along with this program; -- 19 | -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- 20 | -- . -- 21 | -- -- 22 | ------------------------------------------------------------------------------ 23 | 24 | package DOM.Core.Cdata_Sections is 25 | end DOM.Core.Cdata_Sections; 26 | -------------------------------------------------------------------------------- /dom/dom-core-comments.ads: -------------------------------------------------------------------------------- 1 | 2 | package DOM.Core.Comments is 3 | end DOM.Core.Comments; 4 | -------------------------------------------------------------------------------- /dom/dom-core-document_fragments.ads: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------ 2 | -- XML/Ada - An XML suite for Ada95 -- 3 | -- -- 4 | -- Copyright (C) 2001-2017, AdaCore -- 5 | -- -- 6 | -- This library is free software; you can redistribute it and/or modify it -- 7 | -- under terms of the GNU General Public License as published by the Free -- 8 | -- Software Foundation; either version 3, or (at your option) any later -- 9 | -- version. This library is distributed in the hope that it will be useful, -- 10 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- 11 | -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- 12 | -- -- 13 | -- As a special exception under Section 7 of GPL version 3, you are granted -- 14 | -- additional permissions described in the GCC Runtime Library Exception, -- 15 | -- version 3.1, as published by the Free Software Foundation. -- 16 | -- -- 17 | -- You should have received a copy of the GNU General Public License and -- 18 | -- a copy of the GCC Runtime Library Exception along with this program; -- 19 | -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- 20 | -- . -- 21 | -- -- 22 | ------------------------------------------------------------------------------ 23 | 24 | -- Minimal document object. This is not necessarily a well formed document, 25 | -- in that it can have several children. 26 | 27 | package DOM.Core.Document_Fragments is 28 | 29 | end DOM.Core.Document_Fragments; 30 | -------------------------------------------------------------------------------- /dom/dom-core-document_types.adb: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------ 2 | -- XML/Ada - An XML suite for Ada95 -- 3 | -- -- 4 | -- Copyright (C) 2001-2017, AdaCore -- 5 | -- -- 6 | -- This library is free software; you can redistribute it and/or modify it -- 7 | -- under terms of the GNU General Public License as published by the Free -- 8 | -- Software Foundation; either version 3, or (at your option) any later -- 9 | -- version. This library is distributed in the hope that it will be useful, -- 10 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- 11 | -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- 12 | -- -- 13 | -- As a special exception under Section 7 of GPL version 3, you are granted -- 14 | -- additional permissions described in the GCC Runtime Library Exception, -- 15 | -- version 3.1, as published by the Free Software Foundation. -- 16 | -- -- 17 | -- You should have received a copy of the GNU General Public License and -- 18 | -- a copy of the GCC Runtime Library Exception along with this program; -- 19 | -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- 20 | -- . -- 21 | -- -- 22 | ------------------------------------------------------------------------------ 23 | 24 | package body DOM.Core.Document_Types is 25 | 26 | function Create_Document_Type 27 | (Implementation : DOM_Implementation; 28 | Qualified_Name : DOM_String; 29 | Public_Id : DOM_String; 30 | System_Id : DOM_String; 31 | Internal_Subset : DOM_String) return Document_Type 32 | is 33 | pragma Warnings (Off, Implementation); 34 | pragma Warnings (Off, Qualified_Name); 35 | pragma Warnings (Off, Public_Id); 36 | pragma Warnings (Off, System_Id); 37 | pragma Warnings (Off, Internal_Subset); 38 | begin 39 | return null; 40 | end Create_Document_Type; 41 | end DOM.Core.Document_Types; 42 | -------------------------------------------------------------------------------- /dom/dom-core-document_types.ads: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------ 2 | -- XML/Ada - An XML suite for Ada95 -- 3 | -- -- 4 | -- Copyright (C) 2001-2017, AdaCore -- 5 | -- -- 6 | -- This library is free software; you can redistribute it and/or modify it -- 7 | -- under terms of the GNU General Public License as published by the Free -- 8 | -- Software Foundation; either version 3, or (at your option) any later -- 9 | -- version. This library is distributed in the hope that it will be useful, -- 10 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- 11 | -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- 12 | -- -- 13 | -- As a special exception under Section 7 of GPL version 3, you are granted -- 14 | -- additional permissions described in the GCC Runtime Library Exception, -- 15 | -- version 3.1, as published by the Free Software Foundation. -- 16 | -- -- 17 | -- You should have received a copy of the GNU General Public License and -- 18 | -- a copy of the GCC Runtime Library Exception along with this program; -- 19 | -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- 20 | -- . -- 21 | -- -- 22 | ------------------------------------------------------------------------------ 23 | 24 | package DOM.Core.Document_Types is 25 | function Create_Document_Type 26 | (Implementation : DOM_Implementation; 27 | Qualified_Name : DOM_String; 28 | Public_Id : DOM_String; 29 | System_Id : DOM_String; 30 | Internal_Subset : DOM_String) return Document_Type; 31 | -- Return an empty DTD, that can be associated later with a document. 32 | -- Internal_Subset should be valid. 33 | 34 | -- ??? Not implemented yet 35 | end DOM.Core.Document_Types; 36 | -------------------------------------------------------------------------------- /dom/dom-core-entity_references.ads: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------ 2 | -- XML/Ada - An XML suite for Ada95 -- 3 | -- -- 4 | -- Copyright (C) 2001-2017, AdaCore -- 5 | -- -- 6 | -- This library is free software; you can redistribute it and/or modify it -- 7 | -- under terms of the GNU General Public License as published by the Free -- 8 | -- Software Foundation; either version 3, or (at your option) any later -- 9 | -- version. This library is distributed in the hope that it will be useful, -- 10 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- 11 | -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- 12 | -- -- 13 | -- As a special exception under Section 7 of GPL version 3, you are granted -- 14 | -- additional permissions described in the GCC Runtime Library Exception, -- 15 | -- version 3.1, as published by the Free Software Foundation. -- 16 | -- -- 17 | -- You should have received a copy of the GNU General Public License and -- 18 | -- a copy of the GCC Runtime Library Exception along with this program; -- 19 | -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- 20 | -- . -- 21 | -- -- 22 | ------------------------------------------------------------------------------ 23 | 24 | package DOM.Core.Entity_References is 25 | end DOM.Core.Entity_References; 26 | -------------------------------------------------------------------------------- /dom/dom-core-notations.adb: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------ 2 | -- XML/Ada - An XML suite for Ada95 -- 3 | -- -- 4 | -- Copyright (C) 2001-2017, AdaCore -- 5 | -- -- 6 | -- This library is free software; you can redistribute it and/or modify it -- 7 | -- under terms of the GNU General Public License as published by the Free -- 8 | -- Software Foundation; either version 3, or (at your option) any later -- 9 | -- version. This library is distributed in the hope that it will be useful, -- 10 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- 11 | -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- 12 | -- -- 13 | -- As a special exception under Section 7 of GPL version 3, you are granted -- 14 | -- additional permissions described in the GCC Runtime Library Exception, -- 15 | -- version 3.1, as published by the Free Software Foundation. -- 16 | -- -- 17 | -- You should have received a copy of the GNU General Public License and -- 18 | -- a copy of the GCC Runtime Library Exception along with this program; -- 19 | -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- 20 | -- . -- 21 | -- -- 22 | ------------------------------------------------------------------------------ 23 | 24 | with Unicode.CES; use Unicode.CES; 25 | 26 | package body DOM.Core.Notations is 27 | 28 | --------------- 29 | -- Public_Id -- 30 | --------------- 31 | 32 | function Public_Id (N : Notation) return DOM_String is 33 | begin 34 | if N.Public_ID = null then 35 | return ""; 36 | else 37 | return N.Public_ID.all; 38 | end if; 39 | end Public_Id; 40 | 41 | --------------- 42 | -- System_Id -- 43 | --------------- 44 | 45 | function System_Id (N : Notation) return DOM_String is 46 | begin 47 | if N.System_ID = null then 48 | return ""; 49 | else 50 | return N.System_ID.all; 51 | end if; 52 | end System_Id; 53 | end DOM.Core.Notations; 54 | -------------------------------------------------------------------------------- /dom/dom-core-notations.ads: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------ 2 | -- XML/Ada - An XML suite for Ada95 -- 3 | -- -- 4 | -- Copyright (C) 2001-2017, AdaCore -- 5 | -- -- 6 | -- This library is free software; you can redistribute it and/or modify it -- 7 | -- under terms of the GNU General Public License as published by the Free -- 8 | -- Software Foundation; either version 3, or (at your option) any later -- 9 | -- version. This library is distributed in the hope that it will be useful, -- 10 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- 11 | -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- 12 | -- -- 13 | -- As a special exception under Section 7 of GPL version 3, you are granted -- 14 | -- additional permissions described in the GCC Runtime Library Exception, -- 15 | -- version 3.1, as published by the Free Software Foundation. -- 16 | -- -- 17 | -- You should have received a copy of the GNU General Public License and -- 18 | -- a copy of the GCC Runtime Library Exception along with this program; -- 19 | -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- 20 | -- . -- 21 | -- -- 22 | ------------------------------------------------------------------------------ 23 | 24 | package DOM.Core.Notations is 25 | 26 | -- Represents a tag in a DTD declaration. 27 | -- See 4.7 in XML specifications 28 | 29 | function Public_Id (N : Notation) return DOM_String; 30 | -- The public identifier for this notation. 31 | -- "" is returned if there was no such specification. 32 | 33 | function System_Id (N : Notation) return DOM_String; 34 | -- The system identifier for this notation 35 | -- "" is returned if there was no such specification. 36 | 37 | end DOM.Core.Notations; 38 | -------------------------------------------------------------------------------- /dom/dom-core-processing_instructions.ads: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------ 2 | -- XML/Ada - An XML suite for Ada95 -- 3 | -- -- 4 | -- Copyright (C) 2001-2017, AdaCore -- 5 | -- -- 6 | -- This library is free software; you can redistribute it and/or modify it -- 7 | -- under terms of the GNU General Public License as published by the Free -- 8 | -- Software Foundation; either version 3, or (at your option) any later -- 9 | -- version. This library is distributed in the hope that it will be useful, -- 10 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- 11 | -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- 12 | -- -- 13 | -- As a special exception under Section 7 of GPL version 3, you are granted -- 14 | -- additional permissions described in the GCC Runtime Library Exception, -- 15 | -- version 3.1, as published by the Free Software Foundation. -- 16 | -- -- 17 | -- You should have received a copy of the GNU General Public License and -- 18 | -- a copy of the GCC Runtime Library Exception along with this program; -- 19 | -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- 20 | -- . -- 21 | -- -- 22 | ------------------------------------------------------------------------------ 23 | 24 | package DOM.Core.Processing_Instructions is 25 | 26 | end DOM.Core.Processing_Instructions; 27 | -------------------------------------------------------------------------------- /dom/dom-core-texts.adb: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------ 2 | -- XML/Ada - An XML suite for Ada95 -- 3 | -- -- 4 | -- Copyright (C) 2001-2017, AdaCore -- 5 | -- -- 6 | -- This library is free software; you can redistribute it and/or modify it -- 7 | -- under terms of the GNU General Public License as published by the Free -- 8 | -- Software Foundation; either version 3, or (at your option) any later -- 9 | -- version. This library is distributed in the hope that it will be useful, -- 10 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- 11 | -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- 12 | -- -- 13 | -- As a special exception under Section 7 of GPL version 3, you are granted -- 14 | -- additional permissions described in the GCC Runtime Library Exception, -- 15 | -- version 3.1, as published by the Free Software Foundation. -- 16 | -- -- 17 | -- You should have received a copy of the GNU General Public License and -- 18 | -- a copy of the GCC Runtime Library Exception along with this program; -- 19 | -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- 20 | -- . -- 21 | -- -- 22 | ------------------------------------------------------------------------------ 23 | 24 | with Sax.Encodings; use Sax.Encodings; 25 | with Unicode.CES; use Unicode.CES; 26 | with DOM.Core.Documents; use DOM.Core.Documents; 27 | with DOM.Core.Nodes; use DOM.Core.Nodes; 28 | 29 | package body DOM.Core.Texts is 30 | 31 | ---------------- 32 | -- Split_Text -- 33 | ---------------- 34 | 35 | function Split_Text (Te : Text; Offset : Natural) return Text is 36 | Index : constant Integer := Index_From_Offset 37 | (Te.Text.all, Offset, Encoding); 38 | N : Node; 39 | begin 40 | if Index < 0 then 41 | raise Index_Size_Err; 42 | end if; 43 | 44 | N := Insert_Before 45 | (Parent_Node (Te), 46 | Create_Text_Node 47 | (Owner_Document (Te), Te.Text.all (Index .. Te.Text'Last)), 48 | Next_Sibling (Te)); 49 | Set_Node_Value (Te, Te.Text (Te.Text'First .. Index - 1)); 50 | return N; 51 | end Split_Text; 52 | 53 | end DOM.Core.Texts; 54 | -------------------------------------------------------------------------------- /dom/dom-core-texts.ads: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------ 2 | -- XML/Ada - An XML suite for Ada95 -- 3 | -- -- 4 | -- Copyright (C) 2001-2017, AdaCore -- 5 | -- -- 6 | -- This library is free software; you can redistribute it and/or modify it -- 7 | -- under terms of the GNU General Public License as published by the Free -- 8 | -- Software Foundation; either version 3, or (at your option) any later -- 9 | -- version. This library is distributed in the hope that it will be useful, -- 10 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- 11 | -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- 12 | -- -- 13 | -- As a special exception under Section 7 of GPL version 3, you are granted -- 14 | -- additional permissions described in the GCC Runtime Library Exception, -- 15 | -- version 3.1, as published by the Free Software Foundation. -- 16 | -- -- 17 | -- You should have received a copy of the GNU General Public License and -- 18 | -- a copy of the GCC Runtime Library Exception along with this program; -- 19 | -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- 20 | -- . -- 21 | -- -- 22 | ------------------------------------------------------------------------------ 23 | 24 | package DOM.Core.Texts is 25 | 26 | -- See the functions in DOM.Core.Character_Datas in addition 27 | 28 | function Split_Text (Te : Text; Offset : Natural) return Text; 29 | -- Break this node into two nodes at offset, keeping both in the tree 30 | -- as siblings. 31 | -- Index_Size_Err raised if Offset is invalid. 32 | 33 | end DOM.Core.Texts; 34 | -------------------------------------------------------------------------------- /dom/dom.ads: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------ 2 | -- XML/Ada - An XML suite for Ada95 -- 3 | -- -- 4 | -- Copyright (C) 2001-2017, AdaCore -- 5 | -- -- 6 | -- This library is free software; you can redistribute it and/or modify it -- 7 | -- under terms of the GNU General Public License as published by the Free -- 8 | -- Software Foundation; either version 3, or (at your option) any later -- 9 | -- version. This library is distributed in the hope that it will be useful, -- 10 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- 11 | -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- 12 | -- -- 13 | -- As a special exception under Section 7 of GPL version 3, you are granted -- 14 | -- additional permissions described in the GCC Runtime Library Exception, -- 15 | -- version 3.1, as published by the Free Software Foundation. -- 16 | -- -- 17 | -- You should have received a copy of the GNU General Public License and -- 18 | -- a copy of the GCC Runtime Library Exception along with this program; -- 19 | -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- 20 | -- . -- 21 | -- -- 22 | ------------------------------------------------------------------------------ 23 | 24 | -- This is the root hierarchy of the DOM packages. 25 | -- DOM is a standard API to interface to XML trees. It is divided into 26 | -- several main parts (Core, Events, ...). 27 | -- Note that to be fully compliant, strings must be UTF-16 encoded. However, 28 | -- you still have the choice in this implementation, so that you can use 29 | -- UTF-8 encoding for documents that only have ASCII characters (and thus save 30 | -- some space in memory). 31 | -- This encoding is in the file xml/encodings.ads 32 | -- 33 | -- The comments in these packages are not meant as a tutorial, or even a 34 | -- reference documentation for DOM. Please see the official XML 35 | -- documentation. 36 | 37 | package DOM is 38 | 39 | end DOM; 40 | -------------------------------------------------------------------------------- /dom/lib/.cvsignore: -------------------------------------------------------------------------------- 1 | libxmlada* 2 | -------------------------------------------------------------------------------- /dom/lib/relocatable/.cvsignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/dom/lib/relocatable/.cvsignore -------------------------------------------------------------------------------- /dom/lib/static/.cvsignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/dom/lib/static/.cvsignore -------------------------------------------------------------------------------- /dom/obj/.cvsignore: -------------------------------------------------------------------------------- 1 | *.o 2 | *.ali 3 | gnat.adc 4 | b~* 5 | test_node 6 | testxml 7 | test_chardata 8 | -------------------------------------------------------------------------------- /dom/obj/relocatable/.cvsignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/dom/obj/relocatable/.cvsignore -------------------------------------------------------------------------------- /dom/obj/static/.cvsignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/dom/obj/static/.cvsignore -------------------------------------------------------------------------------- /dom/xmlada_dom.gpr: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------ 2 | -- XML/Ada - An XML suite for Ada95 -- 3 | -- -- 4 | -- Copyright (C) 2001-2014, AdaCore -- 5 | -- -- 6 | -- This library is free software; you can redistribute it and/or modify it -- 7 | -- under terms of the GNU General Public License as published by the Free -- 8 | -- Software Foundation; either version 3, or (at your option) any later -- 9 | -- version. This library is distributed in the hope that it will be useful, -- 10 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- 11 | -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- 12 | -- -- 13 | -- As a special exception under Section 7 of GPL version 3, you are granted -- 14 | -- additional permissions described in the GCC Runtime Library Exception, -- 15 | -- version 3.1, as published by the Free Software Foundation. -- 16 | -- -- 17 | -- You should have received a copy of the GNU General Public License and -- 18 | -- a copy of the GCC Runtime Library Exception along with this program; -- 19 | -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- 20 | -- . -- 21 | -- -- 22 | ------------------------------------------------------------------------------ 23 | 24 | with "../xmlada_shared.gpr"; 25 | with "../sax/xmlada_sax.gpr"; 26 | with "../unicode/xmlada_unicode.gpr"; 27 | 28 | project XmlAda_Dom is 29 | 30 | for Library_Name use "xmlada_dom"; 31 | for Library_Kind use XmlAda_Shared.Library_Type; 32 | for Object_Dir use "obj/" & Project'Library_Kind; 33 | for Library_Dir use "lib/" & Project'Library_Kind; 34 | for Library_Version use "lib" & Project'Library_Name 35 | & XmlAda_Shared.So_Ext & "." & XmlAda_Shared.Version; 36 | 37 | package Builder renames XmlAda_Shared.Builder; 38 | package Compiler renames XmlAda_Shared.Compiler; 39 | package Binder renames XmlAda_Shared.Binder; 40 | package Ide renames XmlAda_Shared.Ide; 41 | 42 | end XmlAda_Dom; 43 | -------------------------------------------------------------------------------- /gnat.adc: -------------------------------------------------------------------------------- 1 | -- Only set these while in debug mode, since these need to be true partition-wide 2 | pragma Profile (Ravenscar); 3 | 4 | -- pragma Restrictions (No_Tasking); 5 | -- pragma Restrictions (No_Asynchronous_Control); 6 | -- pragma Restrictions (Max_Asynchronous_Select_Nesting => 0); 7 | -- pragma Restrictions (No_Abort_Statements); 8 | -- pragma Initialize_Scalars; 9 | -- pragma Restrictions (No_Dynamic_Interrupts); 10 | -- pragma Restrictions (No_Implicit_Dynamic_Code); 11 | -- pragma Restrictions (No_Initialize_Scalars); 12 | -- pragma Restrictions (No_Wide_Characters); 13 | -- pragma Restricted_Run_Time; 14 | -- pragma Restrictions (No_Secondary_Stack); 15 | -- pragma Restrictions (No_Streams); 16 | 17 | 18 | -------------------------------------------------------------------------------- /gnat_debug.adc: -------------------------------------------------------------------------------- 1 | pragma Initialize_Scalars; 2 | -------------------------------------------------------------------------------- /gnat_optimize.adc: -------------------------------------------------------------------------------- 1 | -- pragma Restrictions (No_Initialize_Scalars); 2 | -------------------------------------------------------------------------------- /input_sources/lib/.cvsignore: -------------------------------------------------------------------------------- 1 | libxmlada* 2 | -------------------------------------------------------------------------------- /input_sources/lib/relocatable/.cvsignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/input_sources/lib/relocatable/.cvsignore -------------------------------------------------------------------------------- /input_sources/lib/static/.cvsignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/input_sources/lib/static/.cvsignore -------------------------------------------------------------------------------- /input_sources/obj/.cvsignore: -------------------------------------------------------------------------------- 1 | gnat.adc 2 | -------------------------------------------------------------------------------- /input_sources/obj/relocatable/.cvsignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/input_sources/obj/relocatable/.cvsignore -------------------------------------------------------------------------------- /input_sources/obj/static/.cvsignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/input_sources/obj/static/.cvsignore -------------------------------------------------------------------------------- /sax/sax.ads: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------ 2 | -- XML/Ada - An XML suite for Ada95 -- 3 | -- -- 4 | -- Copyright (C) 2001-2017, AdaCore -- 5 | -- -- 6 | -- This library is free software; you can redistribute it and/or modify it -- 7 | -- under terms of the GNU General Public License as published by the Free -- 8 | -- Software Foundation; either version 3, or (at your option) any later -- 9 | -- version. This library is distributed in the hope that it will be useful, -- 10 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- 11 | -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- 12 | -- -- 13 | -- As a special exception under Section 7 of GPL version 3, you are granted -- 14 | -- additional permissions described in the GCC Runtime Library Exception, -- 15 | -- version 3.1, as published by the Free Software Foundation. -- 16 | -- -- 17 | -- You should have received a copy of the GNU General Public License and -- 18 | -- a copy of the GCC Runtime Library Exception along with this program; -- 19 | -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- 20 | -- . -- 21 | -- -- 22 | ------------------------------------------------------------------------------ 23 | 24 | -- Root package for the Sax hierarchy. 25 | -- 26 | -- This hierarchy provides a set of tagged types that can be inherited from 27 | -- so as to implement your own callback functions for parsing a XML document. 28 | -- 29 | -- The interfaces in this package are as close as possible from the ones 30 | -- defined in SAX2 (minus the obsolete ones, which have been omitted). 31 | -- See http://www.megginson.com/SAX/ for more information 32 | 33 | package Sax is 34 | 35 | end Sax; 36 | -------------------------------------------------------------------------------- /sax/xmlada_sax.gpr: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------ 2 | -- XML/Ada - An XML suite for Ada95 -- 3 | -- -- 4 | -- Copyright (C) 2001-2014, AdaCore -- 5 | -- -- 6 | -- This library is free software; you can redistribute it and/or modify it -- 7 | -- under terms of the GNU General Public License as published by the Free -- 8 | -- Software Foundation; either version 3, or (at your option) any later -- 9 | -- version. This library is distributed in the hope that it will be useful, -- 10 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- 11 | -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- 12 | -- -- 13 | -- As a special exception under Section 7 of GPL version 3, you are granted -- 14 | -- additional permissions described in the GCC Runtime Library Exception, -- 15 | -- version 3.1, as published by the Free Software Foundation. -- 16 | -- -- 17 | -- You should have received a copy of the GNU General Public License and -- 18 | -- a copy of the GCC Runtime Library Exception along with this program; -- 19 | -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- 20 | -- . -- 21 | -- -- 22 | ------------------------------------------------------------------------------ 23 | 24 | with "../xmlada_shared.gpr"; 25 | with "../unicode/xmlada_unicode.gpr"; 26 | with "../input_sources/xmlada_input.gpr"; 27 | 28 | project XmlAda_Sax is 29 | 30 | for Library_Name use "xmlada_sax"; 31 | for Library_Kind use XmlAda_Shared.Library_Type; 32 | for Object_Dir use "obj/" & Project'Library_Kind; 33 | for Library_Dir use "lib/" & Project'Library_Kind; 34 | for Library_Version use "lib" & Project'Library_Name 35 | & XmlAda_Shared.So_Ext & "." & XmlAda_Shared.Version; 36 | 37 | package Builder renames XmlAda_Shared.Builder; 38 | package Compiler renames XmlAda_Shared.Compiler; 39 | package Binder renames XmlAda_Shared.Binder; 40 | package Ide renames XmlAda_Shared.Ide; 41 | 42 | end XmlAda_Sax; 43 | -------------------------------------------------------------------------------- /schema/lib/.cvsignore: -------------------------------------------------------------------------------- 1 | libxmlada_schema* 2 | -------------------------------------------------------------------------------- /schema/lib/relocatable/.cvsignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/schema/lib/relocatable/.cvsignore -------------------------------------------------------------------------------- /schema/lib/static/.cvsignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/schema/lib/static/.cvsignore -------------------------------------------------------------------------------- /schema/obj/.cvsignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/schema/obj/.cvsignore -------------------------------------------------------------------------------- /schema/schema-validators-xsd_grammar.ads: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------ 2 | -- XML/Ada - An XML suite for Ada95 -- 3 | -- -- 4 | -- Copyright (C) 2004-2021, AdaCore -- 5 | -- -- 6 | -- This library is free software; you can redistribute it and/or modify it -- 7 | -- under terms of the GNU General Public License as published by the Free -- 8 | -- Software Foundation; either version 3, or (at your option) any later -- 9 | -- version. This library is distributed in the hope that it will be useful, -- 10 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- 11 | -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- 12 | -- -- 13 | -- As a special exception under Section 7 of GPL version 3, you are granted -- 14 | -- additional permissions described in the GCC Runtime Library Exception, -- 15 | -- version 3.1, as published by the Free Software Foundation. -- 16 | -- -- 17 | -- You should have received a copy of the GNU General Public License and -- 18 | -- a copy of the GCC Runtime Library Exception along with this program; -- 19 | -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- 20 | -- . -- 21 | -- -- 22 | ------------------------------------------------------------------------------ 23 | 24 | -- This file contains a function that manually creates a schema-for-schema 25 | -- grammar, ie a grammar that is used to validate a schema file. 26 | -- 27 | -- This is intended both as an example on how to manually write grammars, 28 | -- and as a way to check schema.xsd. 29 | 30 | private package Schema.Validators.XSD_Grammar is 31 | 32 | procedure Add_Schema_For_Schema 33 | (R : in out Schema.Validators.Abstract_Validation_Reader'Class); 34 | -- Adds the definition for the standard XML namespaces (schemas,...) to 35 | -- Grammar. The resulting grammar can thus be used, among other things, to 36 | -- validate schema files. This doesn't add the predefined types, which 37 | -- must be added separately. 38 | 39 | end Schema.Validators.XSD_Grammar; 40 | -------------------------------------------------------------------------------- /schema/xmlada_schema.gpr: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------ 2 | -- XML/Ada - An XML suite for Ada95 -- 3 | -- -- 4 | -- Copyright (C) 2001-2014, AdaCore -- 5 | -- -- 6 | -- This library is free software; you can redistribute it and/or modify it -- 7 | -- under terms of the GNU General Public License as published by the Free -- 8 | -- Software Foundation; either version 3, or (at your option) any later -- 9 | -- version. This library is distributed in the hope that it will be useful, -- 10 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- 11 | -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- 12 | -- -- 13 | -- As a special exception under Section 7 of GPL version 3, you are granted -- 14 | -- additional permissions described in the GCC Runtime Library Exception, -- 15 | -- version 3.1, as published by the Free Software Foundation. -- 16 | -- -- 17 | -- You should have received a copy of the GNU General Public License and -- 18 | -- a copy of the GCC Runtime Library Exception along with this program; -- 19 | -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- 20 | -- . -- 21 | -- -- 22 | ------------------------------------------------------------------------------ 23 | 24 | with "../xmlada_shared.gpr"; 25 | with "../sax/xmlada_sax.gpr"; 26 | with "../unicode/xmlada_unicode.gpr"; 27 | with "../dom/xmlada_dom.gpr"; 28 | 29 | project XmlAda_Schema is 30 | 31 | for Library_Name use "xmlada_schema"; 32 | for Library_Kind use XmlAda_Shared.Library_Type; 33 | for Object_Dir use "obj/" & Project'Library_Kind; 34 | for Library_Dir use "lib/" & Project'Library_Kind; 35 | for Library_Version use "lib" & Project'Library_Name 36 | & XmlAda_Shared.So_Ext & "." & XmlAda_Shared.Version; 37 | 38 | package Builder renames XmlAda_Shared.Builder; 39 | package Compiler renames XmlAda_Shared.Compiler; 40 | package Binder renames XmlAda_Shared.Binder; 41 | package Ide renames XmlAda_Shared.Ide; 42 | 43 | end XmlAda_Schema; 44 | -------------------------------------------------------------------------------- /tests/base64/base64_test.gpr: -------------------------------------------------------------------------------- 1 | with "../../xmlada_shared"; 2 | with "xmlada_sax"; 3 | 4 | project Base64_Test is 5 | for Main use ("test_base64"); 6 | for Object_Dir use "obj"; 7 | package Builder renames XmlAda_Shared.Builder; 8 | package Compiler renames XmlAda_Shared.Compiler; 9 | package Binder renames XmlAda_Shared.Binder; 10 | package Linker renames XmlAda_Shared.Linker; 11 | end Base64_Test; 12 | -------------------------------------------------------------------------------- /tests/base64/test_base64.adb: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------ 2 | -- XML/Ada - An XML suite for Ada95 -- 3 | -- -- 4 | -- Copyright (C) 2021, AdaCore -- 5 | -- -- 6 | -- This library is free software; you can redistribute it and/or modify it -- 7 | -- under terms of the GNU General Public License as published by the Free -- 8 | -- Software Foundation; either version 3, or (at your option) any later -- 9 | -- version. This library is distributed in the hope that it will be useful, -- 10 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- 11 | -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- 12 | -- -- 13 | -- As a special exception under Section 7 of GPL version 3, you are granted -- 14 | -- additional permissions described in the GCC Runtime Library Exception, -- 15 | -- version 3.1, as published by the Free Software Foundation. -- 16 | -- -- 17 | -- You should have received a copy of the GNU General Public License and -- 18 | -- a copy of the GCC Runtime Library Exception along with this program; -- 19 | -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- 20 | -- . -- 21 | -- -- 22 | ------------------------------------------------------------------------------ 23 | 24 | with Ada.Text_IO; use Ada.Text_IO; 25 | with Sax.Utils; use Sax.Utils; 26 | 27 | procedure Test_Base64 is 28 | 29 | procedure Check (Value : String); 30 | 31 | procedure Check (Value : String) is 32 | begin 33 | if Is_Valid_Base64Binary (Value) then 34 | Put ("RIGHT: "); 35 | else 36 | Put ("WRONG: "); 37 | end if; 38 | 39 | Put_Line ('"' & Value & '"'); 40 | end Check; 41 | 42 | begin 43 | Check ("MzMzZGQK"); 44 | Check ("MQo="); 45 | Check ("MTIK"); 46 | Check ("MTIzCg=="); 47 | Check (""); 48 | Check ("VVVV"); 49 | Check ("VAV="); -- Wrong, was incorrectly OK before S823-015 fix. 50 | Check ("VV=="); -- Wrong 51 | end Test_Base64; 52 | -------------------------------------------------------------------------------- /tests/base64/test_base64.expected: -------------------------------------------------------------------------------- 1 | RIGHT: "MzMzZGQK" 2 | RIGHT: "MQo=" 3 | RIGHT: "MTIK" 4 | RIGHT: "MTIzCg==" 5 | RIGHT: "" 6 | RIGHT: "VVVV" 7 | WRONG: "VAV=" 8 | WRONG: "VV==" 9 | -------------------------------------------------------------------------------- /tests/dom/conformance/conformance.gpr: -------------------------------------------------------------------------------- 1 | 2 | with "../../../xmlada_shared"; 3 | with "xmlada_dom"; 4 | 5 | project Conformance is 6 | for Main use ("dom_conformance"); 7 | package Binder is 8 | for Switches ("Ada") use XmlAda_Shared.Binder'Switches("Ada") & ("-E"); 9 | end Binder; 10 | package Compiler is 11 | for Switches ("Ada") use XmlAda_Shared.Binder'Switches("Ada") & ("-g"); 12 | end Compiler; 13 | package Linker renames XmlAda_Shared.Linker; 14 | end Conformance; 15 | -------------------------------------------------------------------------------- /tests/dom/conformance/driver.ads: -------------------------------------------------------------------------------- 1 | with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; 2 | with DOM.Core; use DOM.Core; 3 | 4 | package Driver is 5 | procedure Assert_Equals 6 | (Expected : DOM_String; 7 | Actual : DOM_String; 8 | Ignore_Case : Boolean; 9 | File : String; 10 | Id : String); 11 | procedure Assert_Equals 12 | (Expected : DOM_String; 13 | Actual : Unbounded_String; 14 | Ignore_Case : Boolean; 15 | File : String; 16 | Id : String); 17 | procedure Assert_Null 18 | (Actual : Node; 19 | File : String; 20 | Id : String); 21 | procedure Assert_Not_Null 22 | (Actual : Node; 23 | File : String; 24 | Id : String); 25 | procedure Assert_Not_Null 26 | (Actual : Named_Node_Map; 27 | File : String; 28 | Id : String); 29 | procedure Assert_False 30 | (Actual : Boolean; 31 | File : String; 32 | Id : String); 33 | procedure Assert_True 34 | (Actual : Boolean; 35 | File : String; 36 | Id : String); 37 | 38 | end Driver; 39 | -------------------------------------------------------------------------------- /tests/dom/conformance/run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ## Get the tests from the anonymous CVS at 4 | ## http://dev.w3.org/cvsweb/2001/DOM-Test-Suite/ 5 | 6 | dir="2001/DOM-Test-Suite/tests/level1/core/" 7 | test="$1" 8 | 9 | gprbuild -q -m -P conformance.gpr dom_conformance 10 | if [ $? != 0 ]; then 11 | exit 1 12 | fi 13 | 14 | ./dom_conformance "$dir" $test 15 | 16 | -------------------------------------------------------------------------------- /tests/dom/default.gpr.in: -------------------------------------------------------------------------------- 1 | with "@exec_prefix@/xmlada.gpr"; 2 | project Default is 3 | for Main use ("testxml.adb"); 4 | end Default; 5 | -------------------------------------------------------------------------------- /tests/dom/dom_test.gpr: -------------------------------------------------------------------------------- 1 | with "../../xmlada_shared"; 2 | with "xmlada_dom"; 3 | with "conformance/conformance"; 4 | 5 | project Dom_Test is 6 | for Main use ("testxml.adb", "ea03_006.adb", "tostring.adb"); 7 | for Object_Dir use "obj"; 8 | package Builder renames XmlAda_Shared.Builder; 9 | package Compiler renames XmlAda_Shared.Compiler; 10 | package Binder renames XmlAda_Shared.Binder; 11 | package Linker renames XmlAda_Shared.Linker; 12 | end Dom_Test; 13 | -------------------------------------------------------------------------------- /tests/dom/ea03_006.adb: -------------------------------------------------------------------------------- 1 | with DOM.Core; use DOM.Core; 2 | with DOM.Core.Documents; use DOM.Core.Documents; 3 | with DOM.Core.Elements; use DOM.Core.Elements; 4 | with DOM.Core.Nodes; use DOM.Core.Nodes; 5 | 6 | procedure EA03_006 is 7 | Impl : DOM_Implementation; 8 | Doc : Document; 9 | Child, Element : Node; 10 | pragma Unreferenced (Child); 11 | begin 12 | Doc := Create_Document (Impl); 13 | 14 | Element := Create_Element (Doc, "myelem"); 15 | Set_Attribute (Element, "id", "42"); 16 | Child := Append_Child (Doc, Element); 17 | 18 | Print (Element); 19 | end EA03_006; 20 | -------------------------------------------------------------------------------- /tests/dom/sanity.gpr: -------------------------------------------------------------------------------- 1 | -- This project file is used for the sanity checking of XML/Ada. 2 | 3 | with "xmlada"; 4 | project Sanity is 5 | for Object_Dir use "obj"; 6 | for Main use ("testxml.adb"); 7 | end Sanity; 8 | -------------------------------------------------------------------------------- /tests/dom/string_stream.ads: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------ 2 | -- XML/Ada - An XML suite for Ada95 -- 3 | -- -- 4 | -- Copyright (C) 2007-2017, AdaCore -- 5 | -- -- 6 | -- This library is free software; you can redistribute it and/or modify it -- 7 | -- under terms of the GNU General Public License as published by the Free -- 8 | -- Software Foundation; either version 3, or (at your option) any later -- 9 | -- version. This library is distributed in the hope that it will be useful, -- 10 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- 11 | -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- 12 | -- -- 13 | -- As a special exception under Section 7 of GPL version 3, you are granted -- 14 | -- additional permissions described in the GCC Runtime Library Exception, -- 15 | -- version 3.1, as published by the Free Software Foundation. -- 16 | -- -- 17 | -- You should have received a copy of the GNU General Public License and -- 18 | -- a copy of the GCC Runtime Library Exception along with this program; -- 19 | -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- 20 | -- . -- 21 | -- -- 22 | ------------------------------------------------------------------------------ 23 | 24 | -- This package provides an example of an Ada stream that reads or 25 | -- writes to an in-memory string. This can be used when printing a 26 | -- DOM tree for instance (see tostring.adb) 27 | 28 | with Ada.Streams; use Ada.Streams; 29 | with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; 30 | 31 | package String_Stream is 32 | 33 | type String_Stream_Type is new Root_Stream_Type with record 34 | Str : Unbounded_String; 35 | Read_Index : Natural := 1; 36 | end record; 37 | procedure Read 38 | (Stream : in out String_Stream_Type; 39 | Item : out Stream_Element_Array; 40 | Last : out Stream_Element_Offset); 41 | procedure Write 42 | (Stream : in out String_Stream_Type; 43 | Item : Stream_Element_Array); 44 | procedure Open 45 | (Stream : in out String_Stream_Type'Class; 46 | Str : String); 47 | -- Declare a new stream type to write strings in memory 48 | 49 | end String_Stream; 50 | -------------------------------------------------------------------------------- /tests/dom/test.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Big & A A header 6 | 8 | 9 | 10 | 11 | full 12 | 13 | 14 | Test 17 | 18 | 19 | 23 | -------------------------------------------------------------------------------- /tests/dom/test_chardata.adb: -------------------------------------------------------------------------------- 1 | with DOM.Core; use DOM.Core; 2 | with DOM.Core.Documents; use DOM.Core.Documents; 3 | with DOM.Core.Nodes; use DOM.Core.Nodes; 4 | with Sax.Encodings; use Sax.Encodings; 5 | with Unicode.CES; use Unicode.CES; 6 | with Unicode.CES.Basic_8bit; use Unicode.CES.Basic_8bit; 7 | with DOM.Core.Character_Datas; use DOM.Core.Character_Datas; 8 | 9 | with Ada.Text_IO; use Ada.Text_IO; 10 | 11 | procedure Test_Chardata is 12 | 13 | function "-" (Str : String) return Byte_Sequence; 14 | procedure Expect (Got, Expected : DOM_String); 15 | 16 | --------- 17 | -- Str -- 18 | --------- 19 | 20 | function "-" (Str : String) return Byte_Sequence is 21 | begin 22 | return Sax.Encodings.From_Utf32 (Unicode.CES.Basic_8bit.To_Utf32 (Str)); 23 | end "-"; 24 | 25 | ------------ 26 | -- Expect -- 27 | ------------ 28 | 29 | procedure Expect (Got, Expected : DOM_String) is 30 | begin 31 | if Got /= Expected then 32 | Put_Line ("Expected: --" & Expected & "--"); 33 | Put_Line ("Got : --" & Got & "--"); 34 | end if; 35 | end Expect; 36 | 37 | Implementation : DOM_Implementation; 38 | Doc : Node; 39 | Elem : Node; 40 | begin 41 | Doc := Create_Document (Implementation); 42 | Elem := Append_Child (Doc, Create_Element (Doc, -"elem")); 43 | Elem := Append_Child (Elem, Create_Text_Node (Doc, -"Dummy text")); 44 | 45 | Append_Data (Elem, -"appended"); 46 | Expect (Data (Elem), -"Dummy textappended"); 47 | 48 | Delete_Data (Elem, 3, 3); 49 | Expect (Data (Elem), -"Dumtextappended"); 50 | 51 | Replace_Data (Elem, 3, 3, -"replaced"); 52 | Expect (Data (Elem), -"Dumreplacedtappended"); 53 | Free (Doc); 54 | end Test_Chardata; 55 | -------------------------------------------------------------------------------- /tests/dom/test_node.adb: -------------------------------------------------------------------------------- 1 | with DOM.Core; use DOM.Core; 2 | with DOM.Core.Documents; use DOM.Core.Documents; 3 | with DOM.Core.Nodes; use DOM.Core.Nodes; 4 | with Sax.Encodings; use Sax.Encodings; 5 | with Unicode.CES; use Unicode.CES; 6 | with Unicode.CES.Basic_8bit; use Unicode.CES.Basic_8bit; 7 | -- with DOM.Core.Character_Datas; use DOM.Core.Character_Datas; 8 | with DOM.Core.Texts; use DOM.Core.Texts; 9 | 10 | with Ada.Text_IO; use Ada.Text_IO; 11 | 12 | procedure Test_Node is 13 | 14 | function "-" (Str : String) return Byte_Sequence; 15 | --------- 16 | -- Str -- 17 | --------- 18 | 19 | function "-" (Str : String) return Byte_Sequence is 20 | begin 21 | return Sax.Encodings.From_Utf32 (Unicode.CES.Basic_8bit.To_Utf32 (Str)); 22 | end "-"; 23 | 24 | Implementation : DOM_Implementation; 25 | Doc : Document; 26 | Elem1, Elem2, Elem : Node; 27 | begin 28 | Doc := Create_Document (Implementation); 29 | Elem := Append_Child (Doc, Create_Element_NS (Doc, -"", -"foo")); 30 | Elem := Append_Child (Elem, Create_Element (Doc, -"toto")); 31 | Elem1 := Append_Child (Elem, Create_Text_Node (Doc, -"Dummy text")); 32 | Elem2 := Append_Child (Elem, Create_Element (Doc, -"toto")); 33 | Elem2 := Append_Child (Elem2, Create_Text_Node (Doc, -"Dummy text2")); 34 | 35 | Put_Line ("------ Tree ------"); 36 | Print (Doc); 37 | New_Line; 38 | 39 | Put_Line ("------ Find toto -----"); 40 | Print (Get_Elements_By_Tag_Name (Doc, -"toto")); 41 | New_Line; 42 | 43 | Put_Line ("------ Split_Text 3 ----"); 44 | Elem2 := Split_Text (Elem2, 3); 45 | Print (Doc); 46 | New_Line; 47 | 48 | Put_Line ("------ Normalize -----"); 49 | Normalize (Doc); 50 | Print (Doc); 51 | New_Line; 52 | 53 | Free (Doc); 54 | end Test_Node; 55 | -------------------------------------------------------------------------------- /tests/dom/testxml_support.adb: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------ 2 | -- XML/Ada - An XML suite for Ada95 -- 3 | -- -- 4 | -- Copyright (C) 2001-2021, AdaCore -- 5 | -- -- 6 | -- This library is free software; you can redistribute it and/or modify it -- 7 | -- under terms of the GNU General Public License as published by the Free -- 8 | -- Software Foundation; either version 3, or (at your option) any later -- 9 | -- version. This library is distributed in the hope that it will be useful, -- 10 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- 11 | -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- 12 | -- -- 13 | -- As a special exception under Section 7 of GPL version 3, you are granted -- 14 | -- additional permissions described in the GCC Runtime Library Exception, -- 15 | -- version 3.1, as published by the Free Software Foundation. -- 16 | -- -- 17 | -- You should have received a copy of the GNU General Public License and -- 18 | -- a copy of the GCC Runtime Library Exception along with this program; -- 19 | -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- 20 | -- . -- 21 | -- -- 22 | ------------------------------------------------------------------------------ 23 | 24 | with GNAT.OS_Lib; use GNAT.OS_Lib; 25 | with Sax.Exceptions; use Sax.Exceptions; 26 | 27 | package body Testxml_Support is 28 | 29 | ----------- 30 | -- Error -- 31 | ----------- 32 | 33 | procedure Error 34 | (Handler : in out My_Tree_Reader; 35 | Except : Sax.Exceptions.Sax_Parse_Exception'Class) 36 | is 37 | Tmp : String_Access := Handler.Error_Msg; 38 | begin 39 | if Tmp = null then 40 | Handler.Error_Msg := new String'(Get_Message (Except)); 41 | else 42 | Handler.Error_Msg := new String' 43 | (Tmp.all & ASCII.LF & Get_Message (Except)); 44 | Free (Tmp); 45 | end if; 46 | Handler.Had_Error := True; 47 | end Error; 48 | 49 | end Testxml_Support; 50 | -------------------------------------------------------------------------------- /tests/dom/testxml_support.ads: -------------------------------------------------------------------------------- 1 | 2 | with DOM.Readers; 3 | with GNAT.OS_Lib; 4 | with Sax.Exceptions; 5 | 6 | package Testxml_Support is 7 | 8 | type My_Tree_Reader is new DOM.Readers.Tree_Reader with record 9 | Had_Error : Boolean := False; 10 | -- Whether any recoverable error was seen 11 | 12 | Error_Msg : GNAT.OS_Lib.String_Access; 13 | -- The whole cumulative error messages 14 | end record; 15 | procedure Error 16 | (Handler : in out My_Tree_Reader; 17 | Except : Sax.Exceptions.Sax_Parse_Exception'Class); 18 | -- Override Error so as to make sure recoverable errors are reported as 19 | -- such. It raises XML_Error 20 | 21 | end Testxml_Support; 22 | -------------------------------------------------------------------------------- /tests/dom/tostring.adb: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------ 2 | -- XML/Ada - An XML suite for Ada95 -- 3 | -- -- 4 | -- Copyright (C) 2001-2017, AdaCore -- 5 | -- -- 6 | -- This library is free software; you can redistribute it and/or modify it -- 7 | -- under terms of the GNU General Public License as published by the Free -- 8 | -- Software Foundation; either version 3, or (at your option) any later -- 9 | -- version. This library is distributed in the hope that it will be useful, -- 10 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- 11 | -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- 12 | -- -- 13 | -- As a special exception under Section 7 of GPL version 3, you are granted -- 14 | -- additional permissions described in the GCC Runtime Library Exception, -- 15 | -- version 3.1, as published by the Free Software Foundation. -- 16 | -- -- 17 | -- You should have received a copy of the GNU General Public License and -- 18 | -- a copy of the GCC Runtime Library Exception along with this program; -- 19 | -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- 20 | -- . -- 21 | -- -- 22 | ------------------------------------------------------------------------------ 23 | 24 | -- This example shows how an XML tree can be converted to a string 25 | -- in memory, without going through a temporary file on the disk 26 | 27 | with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; 28 | with Ada.Text_IO; use Ada.Text_IO; 29 | with DOM.Core.Nodes; use DOM.Core.Nodes; 30 | with DOM.Readers; use DOM.Readers; 31 | with Input_Sources.File; use Input_Sources.File; 32 | with String_Stream; use String_Stream; 33 | 34 | procedure ToString is 35 | Input : File_Input; 36 | Reader : Tree_Reader; 37 | Output : aliased String_Stream_Type; 38 | begin 39 | Open ("test.xml", Input); 40 | Parse (Reader, Input); 41 | Close (Input); 42 | 43 | Open (Output, ""); 44 | Write (Output'Access, Get_Tree (Reader)); 45 | Put_Line (To_String (Output.Str)); 46 | end ToString; 47 | -------------------------------------------------------------------------------- /tests/examples/domexample2.expected: -------------------------------------------------------------------------------- 1 | Value of "pref1" is Value1 2 | Value of "pref2" is Value2 3 | -------------------------------------------------------------------------------- /tests/examples/saxexample_main.expected: -------------------------------------------------------------------------------- 1 | Value for "pref1" is Value1 2 | Value for "pref2" is Value2 3 | -------------------------------------------------------------------------------- /tests/results/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/tests/results/.gitignore -------------------------------------------------------------------------------- /tests/sax/sax_test.gpr: -------------------------------------------------------------------------------- 1 | with "../../xmlada_shared"; 2 | with "xmlada_sax"; 3 | project Sax_Test is 4 | for Main use ("testsax.adb", "teststate.adb"); 5 | for Object_Dir use "obj"; 6 | package Builder renames XmlAda_Shared.Builder; 7 | package Compiler renames XmlAda_Shared.Compiler; 8 | package Binder renames XmlAda_Shared.Binder; 9 | package Linker renames XmlAda_Shared.Linker; 10 | end Sax_Test; 11 | -------------------------------------------------------------------------------- /tests/sax/schaefer.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ]> 7 | 8 | 9 | ho ho ho 10 | 11 | 12 | -------------------------------------------------------------------------------- /tests/sax/t2.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | "> 6 | 7 | 8 | ] > 9 | 10 | &b; 11 | &e;b;> 12 | &f; 13 | & 14 | 15 | -------------------------------------------------------------------------------- /tests/sax/t4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | "> 5 | ] > 6 | &e; 7 | 8 | 9 | -------------------------------------------------------------------------------- /tests/sax/testsax.adb: -------------------------------------------------------------------------------- 1 | with GNAT.Command_Line; use GNAT.Command_Line; 2 | with Ada.Text_IO; use Ada.Text_IO; 3 | with Debug_Readers; use Debug_Readers; 4 | with Input_Sources.File; use Input_Sources.File; 5 | with Sax.Readers; use Sax.Readers; 6 | 7 | procedure TestSAX is 8 | Read : File_Input; 9 | My_Reader : Debug_Reader; 10 | Name_Start : Natural; 11 | Silent : Boolean := False; 12 | Color : Boolean := True; 13 | 14 | begin 15 | loop 16 | case Getopt ("silent nocolor") is 17 | when 's' => Silent := True; 18 | when 'n' => Color := False; 19 | when others => exit; 20 | end case; 21 | end loop; 22 | 23 | Set_Silent (My_Reader, Silent); 24 | Set_Color (My_Reader, Color); 25 | 26 | declare 27 | S : constant String := Get_Argument; 28 | begin 29 | if S'Length > 0 then 30 | -- Base file name should be used as the public Id 31 | Name_Start := S'Last; 32 | while Name_Start >= S'First and then S (Name_Start) /= '/' loop 33 | Name_Start := Name_Start - 1; 34 | end loop; 35 | Set_Public_Id (Read, S (Name_Start + 1 .. S'Last)); 36 | Open (S, Read); 37 | 38 | else 39 | Put_Line ("First argument should be xml_file_name"); 40 | raise Invalid_Parameter; 41 | end if; 42 | end; 43 | 44 | -- If True, xmlns:* attributes will be reported in Start_Element 45 | Set_Feature (My_Reader, Namespace_Prefixes_Feature, False); 46 | Set_Feature (My_Reader, Validation_Feature, False); 47 | 48 | Parse (My_Reader, Read); 49 | Close (Read); 50 | 51 | exception 52 | when XML_Fatal_Error => 53 | Close (Read); 54 | end TestSAX; 55 | -------------------------------------------------------------------------------- /tests/sax/teststate.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/tests/sax/teststate.expected -------------------------------------------------------------------------------- /tests/schema/disable: -------------------------------------------------------------------------------- 1 | MS-Schema2006-07-15 / schZ012_a 2 | MS-Schema2006-07-15 / schZ012_b 3 | MS-Schema2006-07-15 / schZ012_c 4 | -- test: msData/schema/schZ012_a.xsd 5 | -- Disable because it relies on case-sensitive file systems to work 6 | -- properly. It fails on Darwin (lena) with HFS and on Windows, since 7 | -- the included file schZ012_A.xsd is found on those systems. 8 | -- See discussion at http://www.w3.org/Bugs/Public/show_bug.cgi?id=4137 9 | 10 | MS-SimpleType2006-07-15 / stE054 / stE054.i 11 | -- Disabled because "1.0" and "1" are both the same xsd:double value. 12 | -- Seems the test should validate. According to 4.2.1 in the datatypes 13 | -- standard, equality is checked in terms of value space, not strings. 14 | -- Xerces also accepts this test 15 | 16 | MS-Particles2006-07-15 / particlesZ001 17 | -- xmllint also says this test is OK. Qt complains that the type derivation 18 | -- is incorrect (so an error on the schema), but the test is supposed to 19 | -- have a correct schema, but an incorrect XML file, so that seems like a 20 | -- bug in Qt. Xerces also reports an incorrect schema. 21 | 22 | MS-Additional2006-07-15 / addB064 23 | -- This test parses the metaschema definition. Since this is already 24 | -- known to XML/Ada, the latter complains that we are redefining the 25 | -- location for a namespace that we have already used. Since we know we 26 | -- can parse the metaschema anyway, the test has been disabled 27 | 28 | MS-Particles2006-07-15 / particlesZ031 29 | -- XSD is marked as invalid in recent CVS versions of the testsuite 30 | -------------------------------------------------------------------------------- /tests/schema/multiple_xsd/algo1.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /tests/schema/multiple_xsd/algo2.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /tests/schema/multiple_xsd/default.gpr: -------------------------------------------------------------------------------- 1 | with "xmlada"; 2 | project Default is 3 | for Main use ("validate.adb"); 4 | package Binder is 5 | for Switches ("Ada") use ("-E", "-g"); 6 | end Binder; 7 | package Compiler is 8 | for Switches ("Ada") use ("-g"); 9 | end Compiler; 10 | end Default; 11 | -------------------------------------------------------------------------------- /tests/schema/multiple_xsd/test1.xml: -------------------------------------------------------------------------------- 1 | 2 | 102 4 | -------------------------------------------------------------------------------- /tests/schema/multiple_xsd/test2.xml: -------------------------------------------------------------------------------- 1 | 2 | 92 4 | -------------------------------------------------------------------------------- /tests/schema/schema_test.gpr: -------------------------------------------------------------------------------- 1 | with "../../xmlada_shared"; 2 | with "xmlada_schema"; 3 | with "xmlada_input"; 4 | 5 | project Schema_Test is 6 | 7 | for Main use 8 | ("testschema.adb", "test_date_time.adb", 9 | "testnumbers.adb", "testdomschema.adb", "schematest.adb", 10 | "cleanup_schema.adb"); 11 | 12 | for Object_Dir use "obj"; 13 | package Builder renames XmlAda_Shared.Builder; 14 | 15 | package Compiler is 16 | for Switches ("Ada") use 17 | XmlAda_Shared.Compiler'Switches ("Ada") & ("-gnat05"); 18 | end Compiler; 19 | package Binder renames XmlAda_Shared.Binder; 20 | package Linker renames XmlAda_Shared.Linker; 21 | 22 | end Schema_Test; 23 | -------------------------------------------------------------------------------- /tests/schema/test.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 10 9 | ManuManuMa 10 | 11 | 12 | 13 | 1723 14 | Manu 15 | 16 | 17 | 18 | 1723 19 | 20 | Manu 21 | 22 | 23 | 24 | 1723 25 | 26 | 27 | 28 | 1723 29 | 30 | 31 | 32 | a 33 | b 34 | c 35 | 36 | 37 | 38 | a 39 | b 40 | c 41 | 42 | 43 | 44 | a 45 | b 46 | c 47 | 48 | 49 | 56 | 57 | 58 | Emmanuel 59 | Briot 60 | 61 | 62 | Briot 63 | Emmanuel 64 | 65 | 66 | Emmanuel 67 | 68 | 69 | 70 | 71 | 72 | 73 | -------------------------------------------------------------------------------- /tests/schema/test_date_time.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/tests/schema/test_date_time.expected -------------------------------------------------------------------------------- /tests/schema/testnumbers.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/tests/schema/testnumbers.expected -------------------------------------------------------------------------------- /tests/unicode/test_unicode.expected: -------------------------------------------------------------------------------- 1 | test_unicode : SUCCESS 2 | -------------------------------------------------------------------------------- /tests/unicode/unicode_test.gpr: -------------------------------------------------------------------------------- 1 | with "../../xmlada_shared"; 2 | with "xmlada_unicode"; 3 | 4 | project Unicode_Test is 5 | for Main use ("test_unicode"); 6 | for Object_Dir use "obj"; 7 | package Builder renames XmlAda_Shared.Builder; 8 | package Compiler renames XmlAda_Shared.Compiler; 9 | package Binder renames XmlAda_Shared.Binder; 10 | package Linker renames XmlAda_Shared.Linker; 11 | end Unicode_Test; 12 | -------------------------------------------------------------------------------- /unicode/importer/Makefile: -------------------------------------------------------------------------------- 1 | MAIN := convert 2 | UNICODE_VERSION := 14.0.0 3 | UNICODE_URL := ftp://ftp.unicode.org/Public/$(UNICODE_VERSION)/ucd 4 | UNICODE_FILES := Blocks.txt NameAliases.txt UnicodeData.txt 5 | 6 | .PHONY: all clean ${MAIN} 7 | 8 | all: $(MAIN) $(UNICODE_FILES) 9 | mkdir -p generated 10 | ./$^ 11 | 12 | $(MAIN): 13 | gprbuild -p -Pconvert 14 | 15 | $(UNICODE_FILES): 16 | wget $(UNICODE_URL)/$@ 17 | 18 | clean: 19 | rm -f $(UNICODE_FILES) 20 | gprclean -Pconvert 21 | rm -rf generated/ 22 | -------------------------------------------------------------------------------- /unicode/importer/convert.gpr: -------------------------------------------------------------------------------- 1 | project Convert is 2 | for Main use ("convert.adb"); 3 | for Object_Dir use "obj"; 4 | for Exec_Dir use "."; 5 | package Compiler is 6 | for Switches ("Ada") use ("-gnata", "-gnatwa", "-gnatyaI"); 7 | end Compiler; 8 | end Convert; 9 | -------------------------------------------------------------------------------- /unicode/importer/license.txt: -------------------------------------------------------------------------------- 1 | -- 2 | -- UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE 3 | -- See Terms of Use for definitions of Unicode Inc.'s 4 | -- Data Files and Software. 5 | -- 6 | -- NOTICE TO USER: Carefully read the following legal agreement. 7 | -- BY DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S 8 | -- DATA FILES ("DATA FILES"), AND/OR SOFTWARE ("SOFTWARE"), 9 | -- YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE 10 | -- TERMS AND CONDITIONS OF THIS AGREEMENT. 11 | -- IF YOU DO NOT AGREE, DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE 12 | -- THE DATA FILES OR SOFTWARE. 13 | -- 14 | -- COPYRIGHT AND PERMISSION NOTICE 15 | -- 16 | -- Copyright © 1991-2021 Unicode, Inc. All rights reserved. 17 | -- Distributed under the Terms of Use 18 | -- in https://www.unicode.org/copyright.html. 19 | -- 20 | -- Permission is hereby granted, free of charge, to any person obtaining 21 | -- a copy of the Unicode data files and any associated documentation 22 | -- (the "Data Files") or Unicode software and any associated documentation 23 | -- (the "Software") to deal in the Data Files or Software 24 | -- without restriction, including without limitation the rights to use, 25 | -- copy, modify, merge, publish, distribute, and/or sell copies of 26 | -- the Data Files or Software, and to permit persons to whom the Data Files 27 | -- or Software are furnished to do so, provided that either 28 | -- (a) this copyright and permission notice appear with all copies 29 | -- of the Data Files or Software, or 30 | -- (b) this copyright and permission notice appear in associated 31 | -- Documentation. 32 | -- 33 | -- THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF 34 | -- ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 35 | -- WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 36 | -- NONINFRINGEMENT OF THIRD PARTY RIGHTS. 37 | -- IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS 38 | -- NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL 39 | -- DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 40 | -- DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 41 | -- TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 42 | -- PERFORMANCE OF THE DATA FILES OR SOFTWARE. 43 | -- 44 | -- Except as contained in this notice, the name of a copyright holder 45 | -- shall not be used in advertising or otherwise to promote the sale, 46 | -- use or other dealings in these Data Files or Software without prior 47 | -- written authorization of the copyright holder. 48 | -------------------------------------------------------------------------------- /unicode/importer/translators-alias.ads: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------ 2 | -- XML/Ada - An XML suite for Ada95 -- 3 | -- -- 4 | -- Copyright (C) 2016, Nicolas Boulenguez -- 5 | -- Copyright (C) 2016-2022, AdaCore -- 6 | -- -- 7 | -- This library is free software; you can redistribute it and/or modify it -- 8 | -- under terms of the GNU General Public License as published by the Free -- 9 | -- Software Foundation; either version 3, or (at your option) any later -- 10 | -- version. This library is distributed in the hope that it will be useful, -- 11 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- 12 | -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- 13 | -- -- 14 | -- As a special exception under Section 7 of GPL version 3, you are granted -- 15 | -- additional permissions described in the GCC Runtime Library Exception, -- 16 | -- version 3.1, as published by the Free Software Foundation. -- 17 | -- -- 18 | -- You should have received a copy of the GNU General Public License and -- 19 | -- a copy of the GCC Runtime Library Exception along with this program; -- 20 | -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- 21 | -- . -- 22 | -- -- 23 | ------------------------------------------------------------------------------ 24 | 25 | package Translators.Alias is 26 | 27 | type An_Alias_Translator is new A_Translator with private; 28 | 29 | private 30 | 31 | type An_Alias_Translator is new A_Translator with null record; 32 | 33 | overriding procedure Set_Exceptions 34 | (Translator : in out An_Alias_Translator); 35 | overriding function Default_Translation 36 | (Translator : An_Alias_Translator; 37 | Original : String) return String; 38 | 39 | end Translators.Alias; 40 | -------------------------------------------------------------------------------- /unicode/importer/translators-block.ads: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------ 2 | -- XML/Ada - An XML suite for Ada95 -- 3 | -- -- 4 | -- Copyright (C) 2016, Nicolas Boulenguez -- 5 | -- Copyright (C) 2016-2022, AdaCore -- 6 | -- -- 7 | -- This library is free software; you can redistribute it and/or modify it -- 8 | -- under terms of the GNU General Public License as published by the Free -- 9 | -- Software Foundation; either version 3, or (at your option) any later -- 10 | -- version. This library is distributed in the hope that it will be useful, -- 11 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- 12 | -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- 13 | -- -- 14 | -- As a special exception under Section 7 of GPL version 3, you are granted -- 15 | -- additional permissions described in the GCC Runtime Library Exception, -- 16 | -- version 3.1, as published by the Free Software Foundation. -- 17 | -- -- 18 | -- You should have received a copy of the GNU General Public License and -- 19 | -- a copy of the GCC Runtime Library Exception along with this program; -- 20 | -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- 21 | -- . -- 22 | -- -- 23 | ------------------------------------------------------------------------------ 24 | 25 | package Translators.Block is 26 | 27 | type A_Block_Translator is new A_Translator with private; 28 | 29 | private 30 | 31 | type A_Block_Translator is new A_Translator with null record; 32 | overriding procedure Set_Exceptions 33 | (Translator : in out A_Block_Translator); 34 | overriding function Default_Translation 35 | (Translator : A_Block_Translator; 36 | Original : String) return String; 37 | 38 | end Translators.Block; 39 | -------------------------------------------------------------------------------- /unicode/lib/.cvsignore: -------------------------------------------------------------------------------- 1 | libxmlada* 2 | -------------------------------------------------------------------------------- /unicode/lib/relocatable/.cvsignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/lib/relocatable/.cvsignore -------------------------------------------------------------------------------- /unicode/lib/static/.cvsignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/lib/static/.cvsignore -------------------------------------------------------------------------------- /unicode/obj/.cvsignore: -------------------------------------------------------------------------------- 1 | gnat.adc 2 | b~* 3 | test_unicode 4 | -------------------------------------------------------------------------------- /unicode/obj/relocatable/.cvsignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/obj/relocatable/.cvsignore -------------------------------------------------------------------------------- /unicode/obj/static/.cvsignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/obj/static/.cvsignore -------------------------------------------------------------------------------- /unicode/unicode-ccs-iso_8859_1.adb: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------ 2 | -- XML/Ada - An XML suite for Ada95 -- 3 | -- -- 4 | -- Copyright (C) 2001-2017, AdaCore -- 5 | -- -- 6 | -- This library is free software; you can redistribute it and/or modify it -- 7 | -- under terms of the GNU General Public License as published by the Free -- 8 | -- Software Foundation; either version 3, or (at your option) any later -- 9 | -- version. This library is distributed in the hope that it will be useful, -- 10 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- 11 | -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- 12 | -- -- 13 | -- As a special exception under Section 7 of GPL version 3, you are granted -- 14 | -- additional permissions described in the GCC Runtime Library Exception, -- 15 | -- version 3.1, as published by the Free Software Foundation. -- 16 | -- -- 17 | -- You should have received a copy of the GNU General Public License and -- 18 | -- a copy of the GCC Runtime Library Exception along with this program; -- 19 | -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- 20 | -- . -- 21 | -- -- 22 | ------------------------------------------------------------------------------ 23 | 24 | with Ada.Exceptions; use Ada.Exceptions; 25 | 26 | package body Unicode.CCS.Iso_8859_1 is 27 | 28 | ---------------- 29 | -- To_Unicode -- 30 | ---------------- 31 | 32 | function To_Unicode (Char : Unicode_Char) return Unicode_Char is 33 | begin 34 | if Char > 16#00FF# then 35 | Raise_Exception 36 | (Invalid_Code'Identity, 37 | "code " & Unicode_Char'Image (Char) 38 | & " is not available in Iso/8859-1"); 39 | else 40 | return Char; 41 | end if; 42 | end To_Unicode; 43 | 44 | ------------------- 45 | -- To_Iso_8859_1 -- 46 | ------------------- 47 | 48 | function To_Iso_8859_1 (Char : Unicode_Char) return Unicode_Char 49 | renames To_Unicode; 50 | 51 | end Unicode.CCS.Iso_8859_1; 52 | -------------------------------------------------------------------------------- /unicode/unicode-ccs-iso_8859_1.ads: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------ 2 | -- XML/Ada - An XML suite for Ada95 -- 3 | -- -- 4 | -- Copyright (C) 2001-2017, AdaCore -- 5 | -- -- 6 | -- This library is free software; you can redistribute it and/or modify it -- 7 | -- under terms of the GNU General Public License as published by the Free -- 8 | -- Software Foundation; either version 3, or (at your option) any later -- 9 | -- version. This library is distributed in the hope that it will be useful, -- 10 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- 11 | -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- 12 | -- -- 13 | -- As a special exception under Section 7 of GPL version 3, you are granted -- 14 | -- additional permissions described in the GCC Runtime Library Exception, -- 15 | -- version 3.1, as published by the Free Software Foundation. -- 16 | -- -- 17 | -- You should have received a copy of the GNU General Public License and -- 18 | -- a copy of the GCC Runtime Library Exception along with this program; -- 19 | -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- 20 | -- . -- 21 | -- -- 22 | ------------------------------------------------------------------------------ 23 | 24 | -- This package provides support for the ISO/8859-1 (aka Latin-1) 25 | -- encoding. 26 | -- The ISO-8859-1 character set, often simply referred to as Latin 1, can 27 | -- represent most Western European languages including: Albanian, Catalan, 28 | -- Danish, Dutch, English, Faroese, Finnish, French, Galician, German, Irish, 29 | -- Icelandic, Italian, Norwegian, Portuguese, Spanish and Swedish. 30 | 31 | package Unicode.CCS.Iso_8859_1 is 32 | 33 | Name1 : aliased constant String := "ISO-8859-1"; 34 | Name2 : aliased constant String := "Latin1"; 35 | 36 | function To_Unicode (Char : Unicode_Char) return Unicode_Char; 37 | function To_Iso_8859_1 (Char : Unicode_Char) return Unicode_Char; 38 | 39 | Iso_8859_1_Character_Set : constant Character_Set := 40 | (To_Unicode => To_Unicode'Access, 41 | To_CS => To_Iso_8859_1'Access); 42 | end Unicode.CCS.Iso_8859_1; 43 | -------------------------------------------------------------------------------- /unicode/unicode-ccs-iso_8859_15.ads: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------ 2 | -- XML/Ada - An XML suite for Ada95 -- 3 | -- -- 4 | -- Copyright (C) 2004-2017, AdaCore -- 5 | -- -- 6 | -- This library is free software; you can redistribute it and/or modify it -- 7 | -- under terms of the GNU General Public License as published by the Free -- 8 | -- Software Foundation; either version 3, or (at your option) any later -- 9 | -- version. This library is distributed in the hope that it will be useful, -- 10 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- 11 | -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- 12 | -- -- 13 | -- As a special exception under Section 7 of GPL version 3, you are granted -- 14 | -- additional permissions described in the GCC Runtime Library Exception, -- 15 | -- version 3.1, as published by the Free Software Foundation. -- 16 | -- -- 17 | -- You should have received a copy of the GNU General Public License and -- 18 | -- a copy of the GCC Runtime Library Exception along with this program; -- 19 | -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- 20 | -- . -- 21 | -- -- 22 | ------------------------------------------------------------------------------ 23 | 24 | -- This package provides support for the ISO/8859-15 (aka Latin-15) 25 | -- encoding. 26 | -- This is a superset of ISO/8859-1, but also includes the Euro symbol 27 | 28 | package Unicode.CCS.Iso_8859_15 is 29 | 30 | Name1 : aliased constant String := "ISO-8859-15"; 31 | 32 | function To_Unicode (Char : Unicode_Char) return Unicode_Char; 33 | function To_Iso_8859_15 (Char : Unicode_Char) return Unicode_Char; 34 | 35 | Iso_8859_15_Character_Set : constant Character_Set := 36 | (To_Unicode => To_Unicode'Access, 37 | To_CS => To_Iso_8859_15'Access); 38 | 39 | end Unicode.CCS.Iso_8859_15; 40 | -------------------------------------------------------------------------------- /unicode/unicode-ccs-iso_8859_2.ads: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------ 2 | -- XML/Ada - An XML suite for Ada95 -- 3 | -- -- 4 | -- Copyright (C) 2001-2017, AdaCore -- 5 | -- -- 6 | -- This library is free software; you can redistribute it and/or modify it -- 7 | -- under terms of the GNU General Public License as published by the Free -- 8 | -- Software Foundation; either version 3, or (at your option) any later -- 9 | -- version. This library is distributed in the hope that it will be useful, -- 10 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- 11 | -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- 12 | -- -- 13 | -- As a special exception under Section 7 of GPL version 3, you are granted -- 14 | -- additional permissions described in the GCC Runtime Library Exception, -- 15 | -- version 3.1, as published by the Free Software Foundation. -- 16 | -- -- 17 | -- You should have received a copy of the GNU General Public License and -- 18 | -- a copy of the GCC Runtime Library Exception along with this program; -- 19 | -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- 20 | -- . -- 21 | -- -- 22 | ------------------------------------------------------------------------------ 23 | 24 | -- This package provides support for the ISO/8859-2 (aka Latin-2) 25 | -- encoding. 26 | -- The Latin 2 character set supports the Slavic languages of Central Europe 27 | -- which use the Latin alphabet. The ISO-8859-2 set is used for the following 28 | -- languages: Czech, Croat, German, Hungarian, Polish, Romanian, Slovak and 29 | -- Slovenian. 30 | 31 | package Unicode.CCS.Iso_8859_2 is 32 | 33 | Name1 : aliased constant String := "ISO-8859-2"; 34 | Name2 : aliased constant String := "Latin2"; 35 | 36 | function To_Unicode (Char : Unicode_Char) return Unicode_Char; 37 | function To_Iso_8859_2 (Char : Unicode_Char) return Unicode_Char; 38 | 39 | Iso_8859_2_Character_Set : constant Character_Set := 40 | (To_Unicode => To_Unicode'Access, 41 | To_CS => To_Iso_8859_2'Access); 42 | end Unicode.CCS.Iso_8859_2; 43 | -------------------------------------------------------------------------------- /unicode/unicode-ccs-iso_8859_3.ads: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------ 2 | -- XML/Ada - An XML suite for Ada95 -- 3 | -- -- 4 | -- Copyright (C) 2001-2017, AdaCore -- 5 | -- -- 6 | -- This library is free software; you can redistribute it and/or modify it -- 7 | -- under terms of the GNU General Public License as published by the Free -- 8 | -- Software Foundation; either version 3, or (at your option) any later -- 9 | -- version. This library is distributed in the hope that it will be useful, -- 10 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- 11 | -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- 12 | -- -- 13 | -- As a special exception under Section 7 of GPL version 3, you are granted -- 14 | -- additional permissions described in the GCC Runtime Library Exception, -- 15 | -- version 3.1, as published by the Free Software Foundation. -- 16 | -- -- 17 | -- You should have received a copy of the GNU General Public License and -- 18 | -- a copy of the GCC Runtime Library Exception along with this program; -- 19 | -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- 20 | -- . -- 21 | -- -- 22 | ------------------------------------------------------------------------------ 23 | 24 | -- This package provides support for the ISO/8859-3 encoding. 25 | -- This character set is used for Esperanto, Galician, Maltese and Turkish. 26 | 27 | package Unicode.CCS.Iso_8859_3 is 28 | 29 | Name1 : aliased constant String := "ISO-8859-3"; 30 | 31 | function To_Unicode (Char : Unicode_Char) return Unicode_Char; 32 | function To_Iso_8859_3 (Char : Unicode_Char) return Unicode_Char; 33 | 34 | Iso_8859_3_Character_Set : constant Character_Set := 35 | (To_Unicode => To_Unicode'Access, 36 | To_CS => To_Iso_8859_3'Access); 37 | end Unicode.CCS.Iso_8859_3; 38 | -------------------------------------------------------------------------------- /unicode/unicode-ccs-iso_8859_4.ads: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------ 2 | -- XML/Ada - An XML suite for Ada95 -- 3 | -- -- 4 | -- Copyright (C) 2001-2017, AdaCore -- 5 | -- -- 6 | -- This library is free software; you can redistribute it and/or modify it -- 7 | -- under terms of the GNU General Public License as published by the Free -- 8 | -- Software Foundation; either version 3, or (at your option) any later -- 9 | -- version. This library is distributed in the hope that it will be useful, -- 10 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- 11 | -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- 12 | -- -- 13 | -- As a special exception under Section 7 of GPL version 3, you are granted -- 14 | -- additional permissions described in the GCC Runtime Library Exception, -- 15 | -- version 3.1, as published by the Free Software Foundation. -- 16 | -- -- 17 | -- You should have received a copy of the GNU General Public License and -- 18 | -- a copy of the GCC Runtime Library Exception along with this program; -- 19 | -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- 20 | -- . -- 21 | -- -- 22 | ------------------------------------------------------------------------------ 23 | 24 | -- This package provides support for the ISO/8859-4 encoding. 25 | -- Some letters were added to the ISO-8859-4 to support languages such as 26 | -- Estonian, Latvian and Lithuanian. It is an incomplete precursor of the 27 | -- Latin 6 set. 28 | 29 | package Unicode.CCS.Iso_8859_4 is 30 | 31 | Name1 : aliased constant String := "ISO-8859-4"; 32 | 33 | function To_Unicode (Char : Unicode_Char) return Unicode_Char; 34 | function To_Iso_8859_4 (Char : Unicode_Char) return Unicode_Char; 35 | 36 | Iso_8859_4_Character_Set : constant Character_Set := 37 | (To_Unicode => To_Unicode'Access, 38 | To_CS => To_Iso_8859_4'Access); 39 | end Unicode.CCS.Iso_8859_4; 40 | -------------------------------------------------------------------------------- /unicode/unicode-ccs-windows_1251.ads: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------ 2 | -- XML/Ada - An XML suite for Ada95 -- 3 | -- -- 4 | -- Copyright (C) 2008-2017, AdaCore -- 5 | -- -- 6 | -- This library is free software; you can redistribute it and/or modify it -- 7 | -- under terms of the GNU General Public License as published by the Free -- 8 | -- Software Foundation; either version 3, or (at your option) any later -- 9 | -- version. This library is distributed in the hope that it will be useful, -- 10 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- 11 | -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- 12 | -- -- 13 | -- As a special exception under Section 7 of GPL version 3, you are granted -- 14 | -- additional permissions described in the GCC Runtime Library Exception, -- 15 | -- version 3.1, as published by the Free Software Foundation. -- 16 | -- -- 17 | -- You should have received a copy of the GNU General Public License and -- 18 | -- a copy of the GCC Runtime Library Exception along with this program; -- 19 | -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- 20 | -- . -- 21 | -- -- 22 | ------------------------------------------------------------------------------ 23 | 24 | -- This package provides support for the Windows 1251 encoding 25 | 26 | package Unicode.CCS.Windows_1251 is 27 | 28 | Name1 : aliased constant String := "Windows-1251"; 29 | 30 | function To_Unicode (Char : Unicode_Char) return Unicode_Char; 31 | function To_Windows_1251 (Char : Unicode_Char) return Unicode_Char; 32 | 33 | Windows_1251_Character_Set : constant Character_Set := 34 | (To_Unicode => To_Unicode'Access, 35 | To_CS => To_Windows_1251'Access); 36 | 37 | end Unicode.CCS.Windows_1251; 38 | -------------------------------------------------------------------------------- /unicode/unicode-ccs-windows_1252.ads: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------ 2 | -- XML/Ada - An XML suite for Ada95 -- 3 | -- -- 4 | -- Copyright (C) 2005-2017, AdaCore -- 5 | -- -- 6 | -- This library is free software; you can redistribute it and/or modify it -- 7 | -- under terms of the GNU General Public License as published by the Free -- 8 | -- Software Foundation; either version 3, or (at your option) any later -- 9 | -- version. This library is distributed in the hope that it will be useful, -- 10 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- 11 | -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- 12 | -- -- 13 | -- As a special exception under Section 7 of GPL version 3, you are granted -- 14 | -- additional permissions described in the GCC Runtime Library Exception, -- 15 | -- version 3.1, as published by the Free Software Foundation. -- 16 | -- -- 17 | -- You should have received a copy of the GNU General Public License and -- 18 | -- a copy of the GCC Runtime Library Exception along with this program; -- 19 | -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- 20 | -- . -- 21 | -- -- 22 | ------------------------------------------------------------------------------ 23 | 24 | -- This package provides support for the Windows 1252 encoding 25 | 26 | package Unicode.CCS.Windows_1252 is 27 | 28 | Name1 : aliased constant String := "Windows-1252"; 29 | 30 | function To_Unicode (Char : Unicode_Char) return Unicode_Char; 31 | function To_Windows_1252 (Char : Unicode_Char) return Unicode_Char; 32 | 33 | Windows_1252_Character_Set : constant Character_Set := 34 | (To_Unicode => To_Unicode'Access, 35 | To_CS => To_Windows_1252'Access); 36 | end Unicode.CCS.Windows_1252; 37 | -------------------------------------------------------------------------------- /unicode/unicode-ccs.adb: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------ 2 | -- XML/Ada - An XML suite for Ada95 -- 3 | -- -- 4 | -- Copyright (C) 2001-2017, AdaCore -- 5 | -- -- 6 | -- This library is free software; you can redistribute it and/or modify it -- 7 | -- under terms of the GNU General Public License as published by the Free -- 8 | -- Software Foundation; either version 3, or (at your option) any later -- 9 | -- version. This library is distributed in the hope that it will be useful, -- 10 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- 11 | -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- 12 | -- -- 13 | -- As a special exception under Section 7 of GPL version 3, you are granted -- 14 | -- additional permissions described in the GCC Runtime Library Exception, -- 15 | -- version 3.1, as published by the Free Software Foundation. -- 16 | -- -- 17 | -- You should have received a copy of the GNU General Public License and -- 18 | -- a copy of the GCC Runtime Library Exception along with this program; -- 19 | -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- 20 | -- . -- 21 | -- -- 22 | ------------------------------------------------------------------------------ 23 | 24 | package body Unicode.CCS is 25 | 26 | -------------- 27 | -- Identity -- 28 | -------------- 29 | 30 | function Identity (Char : Unicode_Char) return Unicode_Char is 31 | begin 32 | return Char; 33 | end Identity; 34 | 35 | end Unicode.CCS; 36 | -------------------------------------------------------------------------------- /unicode/unicode-names-aegean_numbers.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-aegean_numbers.ads -------------------------------------------------------------------------------- /unicode/unicode-names-ahom.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-ahom.ads -------------------------------------------------------------------------------- /unicode/unicode-names-alchemical_symbols.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-alchemical_symbols.ads -------------------------------------------------------------------------------- /unicode/unicode-names-alpha_presentation_forms.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-alpha_presentation_forms.ads -------------------------------------------------------------------------------- /unicode/unicode-names-anatolian_hieroglyphs.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-anatolian_hieroglyphs.ads -------------------------------------------------------------------------------- /unicode/unicode-names-ancient_greek_music.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-ancient_greek_music.ads -------------------------------------------------------------------------------- /unicode/unicode-names-ancient_greek_numbers.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-ancient_greek_numbers.ads -------------------------------------------------------------------------------- /unicode/unicode-names-ancient_symbols.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-ancient_symbols.ads -------------------------------------------------------------------------------- /unicode/unicode-names-arabic.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-arabic.ads -------------------------------------------------------------------------------- /unicode/unicode-names-arabic_extended_a.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-arabic_extended_a.ads -------------------------------------------------------------------------------- /unicode/unicode-names-arabic_math_alpha_symb.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-arabic_math_alpha_symb.ads -------------------------------------------------------------------------------- /unicode/unicode-names-arabic_present_formsa.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-arabic_present_formsa.ads -------------------------------------------------------------------------------- /unicode/unicode-names-arabic_present_formsb.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-arabic_present_formsb.ads -------------------------------------------------------------------------------- /unicode/unicode-names-arabic_supplement.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-arabic_supplement.ads -------------------------------------------------------------------------------- /unicode/unicode-names-armenian.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-armenian.ads -------------------------------------------------------------------------------- /unicode/unicode-names-arrows.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-arrows.ads -------------------------------------------------------------------------------- /unicode/unicode-names-avestan.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-avestan.ads -------------------------------------------------------------------------------- /unicode/unicode-names-balinese.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-balinese.ads -------------------------------------------------------------------------------- /unicode/unicode-names-bamum.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-bamum.ads -------------------------------------------------------------------------------- /unicode/unicode-names-bamum_supplement.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-bamum_supplement.ads -------------------------------------------------------------------------------- /unicode/unicode-names-basic_latin.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-basic_latin.ads -------------------------------------------------------------------------------- /unicode/unicode-names-bassa_vah.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-bassa_vah.ads -------------------------------------------------------------------------------- /unicode/unicode-names-batak.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-batak.ads -------------------------------------------------------------------------------- /unicode/unicode-names-bengali.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-bengali.ads -------------------------------------------------------------------------------- /unicode/unicode-names-block_elements.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-block_elements.ads -------------------------------------------------------------------------------- /unicode/unicode-names-bopomofo.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-bopomofo.ads -------------------------------------------------------------------------------- /unicode/unicode-names-bopomofo_extended.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-bopomofo_extended.ads -------------------------------------------------------------------------------- /unicode/unicode-names-box_drawing.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-box_drawing.ads -------------------------------------------------------------------------------- /unicode/unicode-names-brahmi.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-brahmi.ads -------------------------------------------------------------------------------- /unicode/unicode-names-braille_patterns.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-braille_patterns.ads -------------------------------------------------------------------------------- /unicode/unicode-names-buginese.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-buginese.ads -------------------------------------------------------------------------------- /unicode/unicode-names-buhid.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-buhid.ads -------------------------------------------------------------------------------- /unicode/unicode-names-byzantine_musical_symbols.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-byzantine_musical_symbols.ads -------------------------------------------------------------------------------- /unicode/unicode-names-canadian_aboriginal.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-canadian_aboriginal.ads -------------------------------------------------------------------------------- /unicode/unicode-names-canadian_aboriginal_ext.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-canadian_aboriginal_ext.ads -------------------------------------------------------------------------------- /unicode/unicode-names-carian.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-carian.ads -------------------------------------------------------------------------------- /unicode/unicode-names-caucasian_albanian.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-caucasian_albanian.ads -------------------------------------------------------------------------------- /unicode/unicode-names-chakma.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-chakma.ads -------------------------------------------------------------------------------- /unicode/unicode-names-cham.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-cham.ads -------------------------------------------------------------------------------- /unicode/unicode-names-cherokee.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-cherokee.ads -------------------------------------------------------------------------------- /unicode/unicode-names-cherokee_supplement.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-cherokee_supplement.ads -------------------------------------------------------------------------------- /unicode/unicode-names-cjk_compat_ideo_sup.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-cjk_compat_ideo_sup.ads -------------------------------------------------------------------------------- /unicode/unicode-names-cjk_compat_ideographs.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-cjk_compat_ideographs.ads -------------------------------------------------------------------------------- /unicode/unicode-names-cjk_compatibility.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-cjk_compatibility.ads -------------------------------------------------------------------------------- /unicode/unicode-names-cjk_compatibility_forms.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-cjk_compatibility_forms.ads -------------------------------------------------------------------------------- /unicode/unicode-names-cjk_letters_months.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-cjk_letters_months.ads -------------------------------------------------------------------------------- /unicode/unicode-names-cjk_radicals_supplement.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-cjk_radicals_supplement.ads -------------------------------------------------------------------------------- /unicode/unicode-names-cjk_strokes.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-cjk_strokes.ads -------------------------------------------------------------------------------- /unicode/unicode-names-cjk_symbols_and_punct.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-cjk_symbols_and_punct.ads -------------------------------------------------------------------------------- /unicode/unicode-names-combining_diacritical.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-combining_diacritical.ads -------------------------------------------------------------------------------- /unicode/unicode-names-combining_diacritical_ext.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-combining_diacritical_ext.ads -------------------------------------------------------------------------------- /unicode/unicode-names-combining_diacritical_sup.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-combining_diacritical_sup.ads -------------------------------------------------------------------------------- /unicode/unicode-names-combining_diacritical_sym.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-combining_diacritical_sym.ads -------------------------------------------------------------------------------- /unicode/unicode-names-combining_half_marks.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-combining_half_marks.ads -------------------------------------------------------------------------------- /unicode/unicode-names-common_indic_number_forms.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-common_indic_number_forms.ads -------------------------------------------------------------------------------- /unicode/unicode-names-control_pictures.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-control_pictures.ads -------------------------------------------------------------------------------- /unicode/unicode-names-coptic.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-coptic.ads -------------------------------------------------------------------------------- /unicode/unicode-names-coptic_epact_numbers.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-coptic_epact_numbers.ads -------------------------------------------------------------------------------- /unicode/unicode-names-counting_rod_numerals.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-counting_rod_numerals.ads -------------------------------------------------------------------------------- /unicode/unicode-names-cuneiform.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-cuneiform.ads -------------------------------------------------------------------------------- /unicode/unicode-names-cuneiform_num_punctuation.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-cuneiform_num_punctuation.ads -------------------------------------------------------------------------------- /unicode/unicode-names-currency_symbols.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-currency_symbols.ads -------------------------------------------------------------------------------- /unicode/unicode-names-cypriot_syllabary.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-cypriot_syllabary.ads -------------------------------------------------------------------------------- /unicode/unicode-names-cyrillic.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-cyrillic.ads -------------------------------------------------------------------------------- /unicode/unicode-names-cyrillic_extended_a.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-cyrillic_extended_a.ads -------------------------------------------------------------------------------- /unicode/unicode-names-cyrillic_extended_b.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-cyrillic_extended_b.ads -------------------------------------------------------------------------------- /unicode/unicode-names-cyrillic_supplement.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-cyrillic_supplement.ads -------------------------------------------------------------------------------- /unicode/unicode-names-deseret.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-deseret.ads -------------------------------------------------------------------------------- /unicode/unicode-names-devanagari.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-devanagari.ads -------------------------------------------------------------------------------- /unicode/unicode-names-devanagari_extended.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-devanagari_extended.ads -------------------------------------------------------------------------------- /unicode/unicode-names-dingbats.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-dingbats.ads -------------------------------------------------------------------------------- /unicode/unicode-names-domino_tiles.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-domino_tiles.ads -------------------------------------------------------------------------------- /unicode/unicode-names-duployan.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-duployan.ads -------------------------------------------------------------------------------- /unicode/unicode-names-early_dynastic_cuneiform.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-early_dynastic_cuneiform.ads -------------------------------------------------------------------------------- /unicode/unicode-names-egyptian_hieroglyphs.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-egyptian_hieroglyphs.ads -------------------------------------------------------------------------------- /unicode/unicode-names-elbasan.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-elbasan.ads -------------------------------------------------------------------------------- /unicode/unicode-names-emoticons.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-emoticons.ads -------------------------------------------------------------------------------- /unicode/unicode-names-enclosed_alphanum_sup.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-enclosed_alphanum_sup.ads -------------------------------------------------------------------------------- /unicode/unicode-names-enclosed_alphanumerics.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-enclosed_alphanumerics.ads -------------------------------------------------------------------------------- /unicode/unicode-names-enclosed_ideographic_sup.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-enclosed_ideographic_sup.ads -------------------------------------------------------------------------------- /unicode/unicode-names-ethiopic.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-ethiopic.ads -------------------------------------------------------------------------------- /unicode/unicode-names-ethiopic_extended.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-ethiopic_extended.ads -------------------------------------------------------------------------------- /unicode/unicode-names-ethiopic_extended_a.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-ethiopic_extended_a.ads -------------------------------------------------------------------------------- /unicode/unicode-names-ethiopic_supplement.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-ethiopic_supplement.ads -------------------------------------------------------------------------------- /unicode/unicode-names-general_punctuation.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-general_punctuation.ads -------------------------------------------------------------------------------- /unicode/unicode-names-geometric_shapes.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-geometric_shapes.ads -------------------------------------------------------------------------------- /unicode/unicode-names-geometric_shapes_extended.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-geometric_shapes_extended.ads -------------------------------------------------------------------------------- /unicode/unicode-names-georgian.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-georgian.ads -------------------------------------------------------------------------------- /unicode/unicode-names-georgian_supplement.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-georgian_supplement.ads -------------------------------------------------------------------------------- /unicode/unicode-names-glagolitic.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-glagolitic.ads -------------------------------------------------------------------------------- /unicode/unicode-names-gothic.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-gothic.ads -------------------------------------------------------------------------------- /unicode/unicode-names-grantha.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-grantha.ads -------------------------------------------------------------------------------- /unicode/unicode-names-greek_and_coptic.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-greek_and_coptic.ads -------------------------------------------------------------------------------- /unicode/unicode-names-greek_extended.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-greek_extended.ads -------------------------------------------------------------------------------- /unicode/unicode-names-gujarati.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-gujarati.ads -------------------------------------------------------------------------------- /unicode/unicode-names-gurmukhi.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-gurmukhi.ads -------------------------------------------------------------------------------- /unicode/unicode-names-half_full_width_forms.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-half_full_width_forms.ads -------------------------------------------------------------------------------- /unicode/unicode-names-hangul_compatibility_jamo.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-hangul_compatibility_jamo.ads -------------------------------------------------------------------------------- /unicode/unicode-names-hangul_jamo.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-hangul_jamo.ads -------------------------------------------------------------------------------- /unicode/unicode-names-hangul_jamo_extended_a.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-hangul_jamo_extended_a.ads -------------------------------------------------------------------------------- /unicode/unicode-names-hangul_jamo_extended_b.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-hangul_jamo_extended_b.ads -------------------------------------------------------------------------------- /unicode/unicode-names-hanunoo.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-hanunoo.ads -------------------------------------------------------------------------------- /unicode/unicode-names-hatran.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-hatran.ads -------------------------------------------------------------------------------- /unicode/unicode-names-hebrew.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-hebrew.ads -------------------------------------------------------------------------------- /unicode/unicode-names-hiragana.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-hiragana.ads -------------------------------------------------------------------------------- /unicode/unicode-names-ideograph_descr_chars.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-ideograph_descr_chars.ads -------------------------------------------------------------------------------- /unicode/unicode-names-imperial_aramaic.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-imperial_aramaic.ads -------------------------------------------------------------------------------- /unicode/unicode-names-inscriptional_pahlavi.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-inscriptional_pahlavi.ads -------------------------------------------------------------------------------- /unicode/unicode-names-inscriptional_parthian.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-inscriptional_parthian.ads -------------------------------------------------------------------------------- /unicode/unicode-names-ipa_extensions.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-ipa_extensions.ads -------------------------------------------------------------------------------- /unicode/unicode-names-javanese.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-javanese.ads -------------------------------------------------------------------------------- /unicode/unicode-names-kaithi.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-kaithi.ads -------------------------------------------------------------------------------- /unicode/unicode-names-kana_supplement.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-kana_supplement.ads -------------------------------------------------------------------------------- /unicode/unicode-names-kanbun.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-kanbun.ads -------------------------------------------------------------------------------- /unicode/unicode-names-kangxi_radicals.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-kangxi_radicals.ads -------------------------------------------------------------------------------- /unicode/unicode-names-kannada.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-kannada.ads -------------------------------------------------------------------------------- /unicode/unicode-names-katakana.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-katakana.ads -------------------------------------------------------------------------------- /unicode/unicode-names-katakana_phonetic_ext.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-katakana_phonetic_ext.ads -------------------------------------------------------------------------------- /unicode/unicode-names-kayah_li.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-kayah_li.ads -------------------------------------------------------------------------------- /unicode/unicode-names-kharoshthi.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-kharoshthi.ads -------------------------------------------------------------------------------- /unicode/unicode-names-khmer.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-khmer.ads -------------------------------------------------------------------------------- /unicode/unicode-names-khmer_symbols.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-khmer_symbols.ads -------------------------------------------------------------------------------- /unicode/unicode-names-khojki.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-khojki.ads -------------------------------------------------------------------------------- /unicode/unicode-names-khudawadi.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-khudawadi.ads -------------------------------------------------------------------------------- /unicode/unicode-names-lao.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-lao.ads -------------------------------------------------------------------------------- /unicode/unicode-names-latin_1_supplement.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-latin_1_supplement.ads -------------------------------------------------------------------------------- /unicode/unicode-names-latin_extended_a.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-latin_extended_a.ads -------------------------------------------------------------------------------- /unicode/unicode-names-latin_extended_additional.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-latin_extended_additional.ads -------------------------------------------------------------------------------- /unicode/unicode-names-latin_extended_b.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-latin_extended_b.ads -------------------------------------------------------------------------------- /unicode/unicode-names-latin_extended_c.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-latin_extended_c.ads -------------------------------------------------------------------------------- /unicode/unicode-names-latin_extended_d.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-latin_extended_d.ads -------------------------------------------------------------------------------- /unicode/unicode-names-latin_extended_e.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-latin_extended_e.ads -------------------------------------------------------------------------------- /unicode/unicode-names-lepcha.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-lepcha.ads -------------------------------------------------------------------------------- /unicode/unicode-names-letterlike_symbols.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-letterlike_symbols.ads -------------------------------------------------------------------------------- /unicode/unicode-names-limbu.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-limbu.ads -------------------------------------------------------------------------------- /unicode/unicode-names-linear_a.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-linear_a.ads -------------------------------------------------------------------------------- /unicode/unicode-names-linear_b_ideograms.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-linear_b_ideograms.ads -------------------------------------------------------------------------------- /unicode/unicode-names-linear_b_syllabary.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-linear_b_syllabary.ads -------------------------------------------------------------------------------- /unicode/unicode-names-lisu.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-lisu.ads -------------------------------------------------------------------------------- /unicode/unicode-names-lycian.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-lycian.ads -------------------------------------------------------------------------------- /unicode/unicode-names-lydian.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-lydian.ads -------------------------------------------------------------------------------- /unicode/unicode-names-mahajani.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-mahajani.ads -------------------------------------------------------------------------------- /unicode/unicode-names-mahjong_tiles.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-mahjong_tiles.ads -------------------------------------------------------------------------------- /unicode/unicode-names-malayalam.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-malayalam.ads -------------------------------------------------------------------------------- /unicode/unicode-names-mandaic.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-mandaic.ads -------------------------------------------------------------------------------- /unicode/unicode-names-manichaean.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-manichaean.ads -------------------------------------------------------------------------------- /unicode/unicode-names-math_alphanumeric_symb.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-math_alphanumeric_symb.ads -------------------------------------------------------------------------------- /unicode/unicode-names-mathematical_operators.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-mathematical_operators.ads -------------------------------------------------------------------------------- /unicode/unicode-names-meetei_mayek.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-meetei_mayek.ads -------------------------------------------------------------------------------- /unicode/unicode-names-meetei_mayek_extensions.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-meetei_mayek_extensions.ads -------------------------------------------------------------------------------- /unicode/unicode-names-mende_kikakui.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-mende_kikakui.ads -------------------------------------------------------------------------------- /unicode/unicode-names-meroitic_cursive.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-meroitic_cursive.ads -------------------------------------------------------------------------------- /unicode/unicode-names-meroitic_hieroglyphs.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-meroitic_hieroglyphs.ads -------------------------------------------------------------------------------- /unicode/unicode-names-miao.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-miao.ads -------------------------------------------------------------------------------- /unicode/unicode-names-misc_math_symbols_a.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-misc_math_symbols_a.ads -------------------------------------------------------------------------------- /unicode/unicode-names-misc_math_symbols_b.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-misc_math_symbols_b.ads -------------------------------------------------------------------------------- /unicode/unicode-names-misc_symbols_and_arrows.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-misc_symbols_and_arrows.ads -------------------------------------------------------------------------------- /unicode/unicode-names-misc_symbols_pictographs.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-misc_symbols_pictographs.ads -------------------------------------------------------------------------------- /unicode/unicode-names-miscellaneous_symbols.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-miscellaneous_symbols.ads -------------------------------------------------------------------------------- /unicode/unicode-names-miscellaneous_technical.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-miscellaneous_technical.ads -------------------------------------------------------------------------------- /unicode/unicode-names-modi.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-modi.ads -------------------------------------------------------------------------------- /unicode/unicode-names-modifier_tone_letters.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-modifier_tone_letters.ads -------------------------------------------------------------------------------- /unicode/unicode-names-mongolian.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-mongolian.ads -------------------------------------------------------------------------------- /unicode/unicode-names-mro.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-mro.ads -------------------------------------------------------------------------------- /unicode/unicode-names-multani.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-multani.ads -------------------------------------------------------------------------------- /unicode/unicode-names-musical_symbols.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-musical_symbols.ads -------------------------------------------------------------------------------- /unicode/unicode-names-myanmar.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-myanmar.ads -------------------------------------------------------------------------------- /unicode/unicode-names-myanmar_extended_a.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-myanmar_extended_a.ads -------------------------------------------------------------------------------- /unicode/unicode-names-myanmar_extended_b.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-myanmar_extended_b.ads -------------------------------------------------------------------------------- /unicode/unicode-names-nabataean.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-nabataean.ads -------------------------------------------------------------------------------- /unicode/unicode-names-new_tai_lue.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-new_tai_lue.ads -------------------------------------------------------------------------------- /unicode/unicode-names-nko.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-nko.ads -------------------------------------------------------------------------------- /unicode/unicode-names-number_forms.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-number_forms.ads -------------------------------------------------------------------------------- /unicode/unicode-names-ogham.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-ogham.ads -------------------------------------------------------------------------------- /unicode/unicode-names-ol_chiki.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-ol_chiki.ads -------------------------------------------------------------------------------- /unicode/unicode-names-old_hungarian.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-old_hungarian.ads -------------------------------------------------------------------------------- /unicode/unicode-names-old_italic.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-old_italic.ads -------------------------------------------------------------------------------- /unicode/unicode-names-old_north_arabian.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-old_north_arabian.ads -------------------------------------------------------------------------------- /unicode/unicode-names-old_permic.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-old_permic.ads -------------------------------------------------------------------------------- /unicode/unicode-names-old_persian.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-old_persian.ads -------------------------------------------------------------------------------- /unicode/unicode-names-old_south_arabian.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-old_south_arabian.ads -------------------------------------------------------------------------------- /unicode/unicode-names-old_turkic.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-old_turkic.ads -------------------------------------------------------------------------------- /unicode/unicode-names-optical_chars_recognition.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-optical_chars_recognition.ads -------------------------------------------------------------------------------- /unicode/unicode-names-oriya.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-oriya.ads -------------------------------------------------------------------------------- /unicode/unicode-names-ornamental_dingbats.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-ornamental_dingbats.ads -------------------------------------------------------------------------------- /unicode/unicode-names-osmanya.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-osmanya.ads -------------------------------------------------------------------------------- /unicode/unicode-names-pahawh_hmong.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-pahawh_hmong.ads -------------------------------------------------------------------------------- /unicode/unicode-names-palmyrene.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-palmyrene.ads -------------------------------------------------------------------------------- /unicode/unicode-names-pau_cin_hau.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-pau_cin_hau.ads -------------------------------------------------------------------------------- /unicode/unicode-names-phags_pa.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-phags_pa.ads -------------------------------------------------------------------------------- /unicode/unicode-names-phaistos_disc.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-phaistos_disc.ads -------------------------------------------------------------------------------- /unicode/unicode-names-phoenician.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-phoenician.ads -------------------------------------------------------------------------------- /unicode/unicode-names-phonetic_ext_sup.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-phonetic_ext_sup.ads -------------------------------------------------------------------------------- /unicode/unicode-names-phonetic_extensions.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-phonetic_extensions.ads -------------------------------------------------------------------------------- /unicode/unicode-names-playing_cards.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-playing_cards.ads -------------------------------------------------------------------------------- /unicode/unicode-names-psalter_pahlavi.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-psalter_pahlavi.ads -------------------------------------------------------------------------------- /unicode/unicode-names-rejang.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-rejang.ads -------------------------------------------------------------------------------- /unicode/unicode-names-rumi_numeral_symbols.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-rumi_numeral_symbols.ads -------------------------------------------------------------------------------- /unicode/unicode-names-runic.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-runic.ads -------------------------------------------------------------------------------- /unicode/unicode-names-samaritan.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-samaritan.ads -------------------------------------------------------------------------------- /unicode/unicode-names-saurashtra.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-saurashtra.ads -------------------------------------------------------------------------------- /unicode/unicode-names-sharada.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-sharada.ads -------------------------------------------------------------------------------- /unicode/unicode-names-shavian.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-shavian.ads -------------------------------------------------------------------------------- /unicode/unicode-names-shorthand_format_controls.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-shorthand_format_controls.ads -------------------------------------------------------------------------------- /unicode/unicode-names-siddham.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-siddham.ads -------------------------------------------------------------------------------- /unicode/unicode-names-sinhala.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-sinhala.ads -------------------------------------------------------------------------------- /unicode/unicode-names-sinhala_archaic_numbers.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-sinhala_archaic_numbers.ads -------------------------------------------------------------------------------- /unicode/unicode-names-small_form_variants.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-small_form_variants.ads -------------------------------------------------------------------------------- /unicode/unicode-names-sora_sompeng.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-sora_sompeng.ads -------------------------------------------------------------------------------- /unicode/unicode-names-spacing_modifier_letters.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-spacing_modifier_letters.ads -------------------------------------------------------------------------------- /unicode/unicode-names-specials.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-specials.ads -------------------------------------------------------------------------------- /unicode/unicode-names-sundanese.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-sundanese.ads -------------------------------------------------------------------------------- /unicode/unicode-names-sundanese_supplement.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-sundanese_supplement.ads -------------------------------------------------------------------------------- /unicode/unicode-names-sup_math_operators.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-sup_math_operators.ads -------------------------------------------------------------------------------- /unicode/unicode-names-sup_symbols_pictographs.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-sup_symbols_pictographs.ads -------------------------------------------------------------------------------- /unicode/unicode-names-super_and_sub_scripts.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-super_and_sub_scripts.ads -------------------------------------------------------------------------------- /unicode/unicode-names-supplemental_arrows_a.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-supplemental_arrows_a.ads -------------------------------------------------------------------------------- /unicode/unicode-names-supplemental_arrows_b.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-supplemental_arrows_b.ads -------------------------------------------------------------------------------- /unicode/unicode-names-supplemental_arrows_c.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-supplemental_arrows_c.ads -------------------------------------------------------------------------------- /unicode/unicode-names-supplemental_punctuation.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-supplemental_punctuation.ads -------------------------------------------------------------------------------- /unicode/unicode-names-sutton_signwriting.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-sutton_signwriting.ads -------------------------------------------------------------------------------- /unicode/unicode-names-syloti_nagri.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-syloti_nagri.ads -------------------------------------------------------------------------------- /unicode/unicode-names-syriac.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-syriac.ads -------------------------------------------------------------------------------- /unicode/unicode-names-tagalog.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-tagalog.ads -------------------------------------------------------------------------------- /unicode/unicode-names-tagbanwa.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-tagbanwa.ads -------------------------------------------------------------------------------- /unicode/unicode-names-tags.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-tags.ads -------------------------------------------------------------------------------- /unicode/unicode-names-tai_le.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-tai_le.ads -------------------------------------------------------------------------------- /unicode/unicode-names-tai_tham.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-tai_tham.ads -------------------------------------------------------------------------------- /unicode/unicode-names-tai_viet.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-tai_viet.ads -------------------------------------------------------------------------------- /unicode/unicode-names-tai_xuan_jing_symbols.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-tai_xuan_jing_symbols.ads -------------------------------------------------------------------------------- /unicode/unicode-names-takri.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-takri.ads -------------------------------------------------------------------------------- /unicode/unicode-names-tamil.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-tamil.ads -------------------------------------------------------------------------------- /unicode/unicode-names-telugu.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-telugu.ads -------------------------------------------------------------------------------- /unicode/unicode-names-thaana.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-thaana.ads -------------------------------------------------------------------------------- /unicode/unicode-names-thai.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-thai.ads -------------------------------------------------------------------------------- /unicode/unicode-names-tibetan.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-tibetan.ads -------------------------------------------------------------------------------- /unicode/unicode-names-tifinagh.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-tifinagh.ads -------------------------------------------------------------------------------- /unicode/unicode-names-tirhuta.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-tirhuta.ads -------------------------------------------------------------------------------- /unicode/unicode-names-transport_and_map_symbols.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-transport_and_map_symbols.ads -------------------------------------------------------------------------------- /unicode/unicode-names-ugaritic.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-ugaritic.ads -------------------------------------------------------------------------------- /unicode/unicode-names-vai.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-vai.ads -------------------------------------------------------------------------------- /unicode/unicode-names-variation_selectors.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-variation_selectors.ads -------------------------------------------------------------------------------- /unicode/unicode-names-variation_selectors_sup.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-variation_selectors_sup.ads -------------------------------------------------------------------------------- /unicode/unicode-names-vedic_extensions.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-vedic_extensions.ads -------------------------------------------------------------------------------- /unicode/unicode-names-vertical_forms.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-vertical_forms.ads -------------------------------------------------------------------------------- /unicode/unicode-names-warang_citi.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-warang_citi.ads -------------------------------------------------------------------------------- /unicode/unicode-names-yi_radicals.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-yi_radicals.ads -------------------------------------------------------------------------------- /unicode/unicode-names-yi_syllables.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-yi_syllables.ads -------------------------------------------------------------------------------- /unicode/unicode-names-yijing_hexagram_symbols.ads: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdaCore/xmlada/5e5b761eb827f458efd2043a5e9ab03e1a614720/unicode/unicode-names-yijing_hexagram_symbols.ads -------------------------------------------------------------------------------- /unicode/unicode-names.ads: -------------------------------------------------------------------------------- 1 | 2 | -- This is the root of the hierarchy that provides named characters 3 | -- The standard Unicode names have been kept wherever possible. The only 4 | -- exception is the NULL character, which has been spelled NUL 5 | 6 | package Unicode.Names is 7 | pragma Preelaborate (Unicode.Names); 8 | end Unicode.Names; 9 | -------------------------------------------------------------------------------- /unicode/xmlada_unicode.gpr: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------ 2 | -- XML/Ada - An XML suite for Ada95 -- 3 | -- -- 4 | -- Copyright (C) 2001-2014, AdaCore -- 5 | -- -- 6 | -- This library is free software; you can redistribute it and/or modify it -- 7 | -- under terms of the GNU General Public License as published by the Free -- 8 | -- Software Foundation; either version 3, or (at your option) any later -- 9 | -- version. This library is distributed in the hope that it will be useful, -- 10 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- 11 | -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- 12 | -- -- 13 | -- As a special exception under Section 7 of GPL version 3, you are granted -- 14 | -- additional permissions described in the GCC Runtime Library Exception, -- 15 | -- version 3.1, as published by the Free Software Foundation. -- 16 | -- -- 17 | -- You should have received a copy of the GNU General Public License and -- 18 | -- a copy of the GCC Runtime Library Exception along with this program; -- 19 | -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- 20 | -- . -- 21 | -- -- 22 | ------------------------------------------------------------------------------ 23 | 24 | with "../xmlada_shared.gpr"; 25 | 26 | project XmlAda_Unicode is 27 | 28 | for Library_Name use "xmlada_unicode"; 29 | for Library_Kind use XmlAda_Shared.Library_Type; 30 | for Object_Dir use "obj/" & Project'Library_Kind; 31 | for Library_Dir use "lib/" & Project'Library_Kind; 32 | for Library_Version use "lib" & Project'Library_Name 33 | & XmlAda_Shared.So_Ext & "." & XmlAda_Shared.Version; 34 | 35 | package Builder renames XmlAda_Shared.Builder; 36 | package Compiler renames XmlAda_Shared.Compiler; 37 | package Binder renames XmlAda_Shared.Binder; 38 | package Ide renames XmlAda_Shared.Ide; 39 | 40 | end XmlAda_Unicode; 41 | -------------------------------------------------------------------------------- /xmlada-roadmap.txt: -------------------------------------------------------------------------------- 1 | This is a tentative roadmap for XML/Ada. 2 | None of the dates and/or tentative contents for the releases should 3 | be taken as firm. 4 | 5 | [XML/Ada 4.3] 6 | 7 | - Improve memory usage in the validation of elements 8 | - Initial support for XInclude 9 | 10 | [GNAT Pro 7.1.1] 11 | 12 | - Precompile and package XML/Ada with native ports. 13 | -------------------------------------------------------------------------------- /xmlada.gpr: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------ 2 | -- XML/Ada - An XML suite for Ada95 -- 3 | -- -- 4 | -- Copyright (C) 2001-2014, AdaCore -- 5 | -- -- 6 | -- This library is free software; you can redistribute it and/or modify it -- 7 | -- under terms of the GNU General Public License as published by the Free -- 8 | -- Software Foundation; either version 3, or (at your option) any later -- 9 | -- version. This library is distributed in the hope that it will be useful, -- 10 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- 11 | -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- 12 | -- -- 13 | -- As a special exception under Section 7 of GPL version 3, you are granted -- 14 | -- additional permissions described in the GCC Runtime Library Exception, -- 15 | -- version 3.1, as published by the Free Software Foundation. -- 16 | -- -- 17 | -- You should have received a copy of the GNU General Public License and -- 18 | -- a copy of the GCC Runtime Library Exception along with this program; -- 19 | -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- 20 | -- . -- 21 | -- -- 22 | ------------------------------------------------------------------------------ 23 | 24 | with "xmlada_shared"; 25 | 26 | aggregate project XmlAda is 27 | 28 | type Build_Tests is ("Yes", "Only", "No"); 29 | 30 | Tests_Status : Build_Tests := external ("TESTS_ACTIVATED", "No"); 31 | 32 | case Tests_Status is 33 | when "Yes" | "No" => 34 | for Project_Files use 35 | ("input_sources/xmlada_input.gpr", 36 | "unicode/xmlada_unicode.gpr", 37 | "sax/xmlada_sax.gpr", 38 | "dom/xmlada_dom.gpr", 39 | "schema/xmlada_schema.gpr"); 40 | when "Only" => 41 | null; 42 | end case; 43 | 44 | case Tests_Status is 45 | when "Yes" | "Only" => 46 | for Project_Files use Project'Project_Files & 47 | ("tests/unicode/unicode_test.gpr", 48 | "tests/sax/sax_test.gpr", 49 | "tests/dom/dom_test.gpr", 50 | "tests/schema/schema_test.gpr", 51 | "tests/base64/base64_test.gpr"); 52 | when "No" => 53 | null; 54 | end case; 55 | 56 | end XmlAda; 57 | --------------------------------------------------------------------------------