The XPact XML parser project

XPact is developed in the open. The source, the test reports and every bug report are on GitHub, and the website itself lives in the same repository, in website/.

Source code ↗

The incremental-test branch: parser, C library, tests and this website.

Issues ↗

One issue per bug, finding or task, each with a report and its evidence.

Project board ↗

What is being worked on: Todo → In progress → In review → Done.

Reports ↗

Investigations, fixes and test runs, one folder per issue.

Plan ↗

The weekly plan and the list of what is left to do.

Website docs ↗

Architecture, REST API, security and how to run this site.

GitHub profile ↗ · Merged pull requests ↗

Website roadmap

PhaseDeliverableStatusNotes
1XPact native library works reliably✅ doneW3C 2,585 cases, 0 failed; DLL smoke tests
2ASP.NET Core API can call XPact✅ doneIsolated worker process per document
3Postman tests for the API✅ donePostman collection, .http file, 19 xUnit end-to-end tests
4React website with XML upload✅ donePaste, upload or drop a file
5Display parsing errors and results✅ doneCode, message, line/column, parser events
6Documentation and benchmark pages✅ doneNumbers exported from the repository reports
7Public deployment and security testing⬜ to doLocal security tests done; not deployed yet

How the website works

  1. The browser sends your XML to the API.
  2. The API checks the size and the request rate.
  3. It starts a separate worker process with a memory cap and a time limit.
  4. The worker calls xpact.dll and returns the result as JSON.
  5. The page shows the verdict, the error position and the events.

The website is one client of the parser; XPact does not depend on it. Architecture

Report a problem

Found a document where XPact disagrees with the XML specification or with Expat? Open an issue with the XML, what you expected and what the validator showed. The raw JSON response (under each result) has everything needed.

Open an issue ↗