{"id":28453880,"url":"https://github.com/concretecms/concrete-cif","last_synced_at":"2026-02-22T04:36:05.175Z","repository":{"id":207220651,"uuid":"718733122","full_name":"concretecms/concrete-cif","owner":"concretecms","description":"Validation of Concrete CIF files","archived":false,"fork":false,"pushed_at":"2026-02-03T20:08:50.000Z","size":463,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-02-04T07:51:56.068Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/concretecms.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":"MAINTAINERS.md","copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-11-14T17:31:17.000Z","updated_at":"2026-02-03T18:34:10.000Z","dependencies_parsed_at":"2023-12-21T10:03:20.073Z","dependency_job_id":"4a877a0d-74fa-4305-b2fd-632d21031e2b","html_url":"https://github.com/concretecms/concrete-cif","commit_stats":null,"previous_names":["concrete5-community/concrete-cif","concretecms/concrete-cif"],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/concretecms/concrete-cif","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/concretecms%2Fconcrete-cif","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/concretecms%2Fconcrete-cif/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/concretecms%2Fconcrete-cif/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/concretecms%2Fconcrete-cif/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/concretecms","download_url":"https://codeload.github.com/concretecms/concrete-cif/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/concretecms%2Fconcrete-cif/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29704832,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-22T03:17:42.375Z","status":"ssl_error","status_checked_at":"2026-02-22T03:17:31.622Z","response_time":110,"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":"2025-06-06T18:40:05.911Z","updated_at":"2026-02-22T04:36:05.143Z","avatar_url":"https://github.com/concretecms.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build](https://github.com/concretecms/concrete-cif/actions/workflows/build.yml/badge.svg)](https://github.com/concretecms/concrete-cif/actions/workflows/build.yml)\n\n# Validation of Concrete CIF files\n\nYou can install almost everything in ConcreteCMS/concrete5 by using XML files in the so-called [CIF format](https://documentation.concretecms.org/developers/packages/install-content-using-content-interchange-format-cif).\n\nYou can check the validity of such files by using an XML Schema (that's an xsd file).\n\nBecause of the complexity of the CIF files, we need to use XML Schema v1.1.\n\nThe problem is that PHP and many XML validators only support XML Schema v1.0.\n\nIn order to solve this problem, you can use the [`concrete-cif.jar` app](https://github.com/concretecms/concrete-cif/releases/latest/download/concrete-cif.jar) you can find in the [GitHub releases](https://github.com/concretecms/concrete-cif/releases) (of course you can use the [`concrete-cif-1.0.xsd` file](https://github.com/concretecms/concrete-cif/releases/latest/download/concrete-cif-1.0.xsd) directly).\n\n## Using `concrete-cif.jar`\n\n1. Install Java (at least version 11). If you don't know how to do that, take a look at [Eclipse Temurin](https://adoptium.net/))\n2. [Download](https://github.com/concretecms/concrete-cif/releases/latest/download/concrete-cif.jar) the latest version\n3. Call concrete-cif.jar by passing it the files (or the directories) you want to check.  \n   For example:\n   ```sh\n   java -jar concrete-cif.jar /path/to/concrete\n   ```\n\n## Compiling `concrete-cif.jar`\n\n1. You need a Java JDK (at least 11) - see for example [Eclipse Temurin](https://adoptium.net/)\n2. You need [Apache Maven](https://maven.apache.org/)\n3. You need to download Xerces locally by using the `bin/install-xerces-m2.sh` script (on Windows: `bin\\install-xerces-m2.bat` or `bin\\install-xerces-m2.ps1`)\n4. Run `mvn verify`\n\n## Using the XSD in an IDE\n\nYou can use the XSD in CIF files so that your IDE can offer validation and auto-completion.\n\nIn order to do that, simply start your CIF files with:\n\n```xml\n\u003cconcrete5-cif\n    xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n    xsi:noNamespaceSchemaLocation=\"https://github.com/concretecms/concrete-cif/releases/latest/download/concrete-cif-1.0.xsd\"\n    version=\"1.0\"\n\u003e\n   \u003c!-- up to you ;) --\u003e\n\u003c/concrete5-cif\u003e\n```\n\nPlease remark that the XML Schema is written in version 1.1, and so far most of the IDEs only support version 1.0.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconcretecms%2Fconcrete-cif","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconcretecms%2Fconcrete-cif","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconcretecms%2Fconcrete-cif/lists"}