{"id":16430983,"url":"https://github.com/waldekmastykarz/sample-xml-validation","last_synced_at":"2025-09-14T23:03:26.702Z","repository":{"id":56324769,"uuid":"42306009","full_name":"waldekmastykarz/sample-xml-validation","owner":"waldekmastykarz","description":null,"archived":false,"fork":false,"pushed_at":"2020-11-14T10:41:26.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-25T09:46:44.845Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/waldekmastykarz.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-09-11T12:01:14.000Z","updated_at":"2020-11-14T10:41:28.000Z","dependencies_parsed_at":"2022-08-15T16:40:36.958Z","dependency_job_id":null,"html_url":"https://github.com/waldekmastykarz/sample-xml-validation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/waldekmastykarz/sample-xml-validation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waldekmastykarz%2Fsample-xml-validation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waldekmastykarz%2Fsample-xml-validation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waldekmastykarz%2Fsample-xml-validation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waldekmastykarz%2Fsample-xml-validation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/waldekmastykarz","download_url":"https://codeload.github.com/waldekmastykarz/sample-xml-validation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waldekmastykarz%2Fsample-xml-validation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275180222,"owners_count":25419066,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-14T02:00:10.474Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-10-11T08:28:53.361Z","updated_at":"2025-09-14T23:03:26.667Z","avatar_url":"https://github.com/waldekmastykarz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# XML Validation sample\n\nSample project showing how to validate XML files using an XSD schema. The different XML files in the project represent the different test scenarios. Run using:\n\n```\n$ gulp validate-xml --xmlfile ./path/to/manifest.xml\n```\n\nIf you need to process the validation output you can have the task provide the output as JSON:\n\n```\n$ gulp validate-xml --xmlfile ./path/to/manifest.xml --json\n```\n\nThe sample project contains a test suite to validate the correct working of the XML validation process. Run using:\n\n```\n$ gulp test\n```\n\n## Remarks\n\nThis sample is based on the Office Add-in manifest and its XSD as published on https://msdn.microsoft.com/library/fp123711?WT.mc_id=m365-0000-wmastyka. The XSD had to be modified on line 249 from:\n\n```xml\n\u003cxs:pattern value=\"([0-9]{1,5})(\\.[0-9]{1,5}){0,3}?\"/\u003e\n```\n\nto\n\n```xml\n\u003cxs:pattern value=\"([0-9]{1,5})(\\.[0-9]{1,5}){0,3}\"/\u003e\n```\n\nas the original line was causing errors in the validation process.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaldekmastykarz%2Fsample-xml-validation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwaldekmastykarz%2Fsample-xml-validation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaldekmastykarz%2Fsample-xml-validation/lists"}