{"id":19592038,"url":"https://github.com/catalyst/xml-compare","last_synced_at":"2025-04-27T14:33:36.245Z","repository":{"id":66891696,"uuid":"406225","full_name":"catalyst/XML-Compare","owner":"catalyst","description":"Perl module to help semantically compare two XML documents","archived":false,"fork":false,"pushed_at":"2023-01-29T06:56:41.000Z","size":49,"stargazers_count":2,"open_issues_count":0,"forks_count":5,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-05T00:51:12.801Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"artistic-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/catalyst.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"COPYING.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2009-12-08T04:31:07.000Z","updated_at":"2023-09-07T00:26:00.000Z","dependencies_parsed_at":"2023-05-13T01:30:40.979Z","dependency_job_id":null,"html_url":"https://github.com/catalyst/XML-Compare","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catalyst%2FXML-Compare","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catalyst%2FXML-Compare/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catalyst%2FXML-Compare/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catalyst%2FXML-Compare/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/catalyst","download_url":"https://codeload.github.com/catalyst/XML-Compare/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251154683,"owners_count":21544539,"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","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-11-11T08:32:46.994Z","updated_at":"2025-04-27T14:33:36.221Z","avatar_url":"https://github.com/catalyst.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"XML-Compare      v0.02\nTest-XML-Compare v0.02\n======================\n\nThese two modules help enable you to check if two XML documents are\nsemantically the same. Some other modules try this but don't check\nnamespaces. These modules check that the namespaces of each element (if\ndefined) even if they are mapped to different prefixes.\n\nThe XML::Compare module export the same(), is_same() and is_different()\nfunctions. The latter two return true or false (but no reason why) whereas the\nformer returns true but throws an exception containing reasoning information if\ndifferent. The latter _could_ be used as an assert statement in your code.\n\nThe Test::XML::Compare modules enable you to use is_xml_same() and\nis_xml_different() functions in your unit tests as you would usually use\nTest::More et al.\n\nEXAMPLE XML COMPARISON\n======================\n\nFor example, the following two documents should be considered semantically\nequal:\n\n    \u003c?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?\u003e\n    \u003cmessage xmlns=\"urn:message\" type=\"simple\"\u003e\n      \u003c!-- comment node --\u003e\n      \u003ccontent\u003eHello, World!\u003c/content\u003e\n    \u003c/message\u003e\n\n    \u003c?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?\u003e\n    \u003cmsg:message xmlns:msg=\"urn:message\" type=\"simple\"\u003e\n      \u003c!-- comment node --\u003e\n      \u003cmsg:content\u003eHello, World!\u003c/msg:content\u003e\n    \u003c/msg:message\u003e\n\nCurrently, far more complicated tests are being performed but this gives a\nsmall example of how different XML documents might be considered semantically\nthe same.\n\nINSTALLATION\n============\n\nTo install this module type the following:\n\n   perl Makefile.PL\n   make\n   make test\n   make install\n\nDEPENDENCIES\n============\n\nThis module requires these other modules and libraries:\n\nXML::LibXML (\u003e= 1.70)\nTest::Simple (Test::More/Test::Builder -- core)\n\nAUTHOR, COPYRIGHT AND LICENCE\n=============================\n\nWritten by Andrew Chilton:\n\n* andychilton@gmail.com\n* andy@catalyst.net.nz\n\nHacked on by Sam Vilain:\n\n* sam@vilain.net\n* samv@catalyst.net.nz\n\nThis software development is sponsored and directed by New Zealand Registry\nServices, http://www.nzrs.net.nz/\n\nThe work is being carried out by Catalyst IT, http://www.catalyst.net.nz/\n\nCopyright (c) 2009, NZ Registry Services.  All Rights Reserved.  This software\nmay be used under the terms of the Artistic License 2.0.  Note that this\nlicense is compatible with both the GNU GPL and Artistic licenses.  A copy of\nthis license is supplied with the distribution in the file COPYING.txt.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatalyst%2Fxml-compare","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcatalyst%2Fxml-compare","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatalyst%2Fxml-compare/lists"}