{"id":23459563,"url":"https://github.com/d-led/xerceslua","last_synced_at":"2026-03-20T01:28:14.035Z","repository":{"id":25584319,"uuid":"29018475","full_name":"d-led/xerceslua","owner":"d-led","description":"A minimal lua wrapper of Xerces-C++ in order to be able to validate xml files in lua","archived":false,"fork":false,"pushed_at":"2022-04-05T09:50:30.000Z","size":189,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-22T20:42:15.716Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/d-led.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-09T13:56:25.000Z","updated_at":"2022-04-05T09:50:33.000Z","dependencies_parsed_at":"2022-07-26T09:48:00.481Z","dependency_job_id":null,"html_url":"https://github.com/d-led/xerceslua","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/d-led/xerceslua","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-led%2Fxerceslua","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-led%2Fxerceslua/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-led%2Fxerceslua/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-led%2Fxerceslua/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/d-led","download_url":"https://codeload.github.com/d-led/xerceslua/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-led%2Fxerceslua/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29180419,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T23:15:33.022Z","status":"ssl_error","status_checked_at":"2026-02-06T23:15:09.128Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-24T06:15:41.929Z","updated_at":"2026-02-06T23:32:38.702Z","avatar_url":"https://github.com/d-led.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"xerceslua\n=========\n\nA minimal lua wrapper of Xerces-C++ in order to be able to validate xml files\n\n[![Build Status](https://travis-ci.org/d-led/xerceslua.svg?branch=master)](https://travis-ci.org/d-led/xerceslua)\n\nUsage\n-----\n\n````lua\nassert(require 'xerceslua')\n\nlocal parser=xerces.XercesDOMParser()\nparser:loadGrammar(\"sample.xsd\",xerces.GrammarType.SchemaGrammarType)\nparser:setValidationScheme(xerces.ValSchemes.Val_Always)\nlocal log=parser:parse(\"sample.xml\")\nprint('parse ok: ',log.Ok)\nif not log.Ok then\n    print('error count: ', log.Count)\n    for i=0,log.Count-1 do\n        local err=log:GetLogEntry(i)\n        print(err.SystemId\n        \t\t..', l:'..err.LineNumber\n        \t\t..', c:'..err.ColumnNumber\n        \t\t..', e:'..err.Message\n\t\t)\n    end\nend\n````\n\nExample\n-------\n\nrun `test.bat` (or `test.lua`) from the `test` directory.\n\nDependencies\n------------\n\n * [Xerces-C++](http://xerces.apache.org/xerces-c/) the original library, unpack the source into the xerceslua directory\n * [lua](http://www.lua.org/) the language, Lua 5.1.4 from [luaforwindows](http://code.google.com/p/luaforwindows/), but it should work for every proper lua which is supported by LuaBridge\n * [LuaBridge](https://github.com/vinniefalco/LuaBridge) for the declarative bindings to Lua\n\nLicense\n-------\n\nThis library is distributed under the MIT License:\n\nCopyright (c) 2012-2014 Dmitry Ledentsov\n\nPermission is hereby granted, free of charge, to any person\nobtaining a copy of this software and associated documentation\nfiles (the \"Software\"), to deal in the Software without\nrestriction, including without limitation the rights to use,\ncopy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the\nSoftware is furnished to do so, subject to the following\nconditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\nOF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\nHOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\nWHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\nFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\nOTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd-led%2Fxerceslua","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fd-led%2Fxerceslua","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd-led%2Fxerceslua/lists"}