moonbit-xsd-datatypes
Copyright 2026 ouoankang

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.


Third-party test data
=====================

W3C XML Schema Test Suite
  Source:  https://github.com/w3c/xsdtests
  Copyright (C) World Wide Web Consortium 2006, 2007
  License: W3C DOCUMENT NOTICE AND LICENSE
           http://www.w3.org/Consortium/Legal/copyright-documents-19990405.html

  What is in this repository
  --------------------------

  `src/datatypes/w3c_cases.mbt` is generated by `scripts/gen_w3c.py` and
  contains a reduced slice of the suite: one representative test group per
  (variety, type, facet) combination, with one valid and one invalid instance
  where the suite provides both. Schema and instance text are embedded as
  string literals.

  Those embedded strings are W3C copyrighted material. They remain under the
  W3C Document Notice and License and are NOT covered by the Apache-2.0 licence
  that applies to the rest of this repository. That notice is reproduced in
  full above, as the licence requires.

  What is NOT in this repository
  ------------------------------

  The test suite itself is not redistributed. `scripts/gen_w3c.py` downloads
  the files it needs into `testdata/`, which is excluded from version control.
  Only the generated slice above is committed, so that `moon test` and CI can
  run without network access.

  If you redistribute this repository, keep this notice attached to it.
