| Summary: | Em dash causes parser error | ||
|---|---|---|---|
| Product: | [Community] PressGang CCMS | Reporter: | Zac Dover <zdover> |
| Component: | Web-UI | Assignee: | Matthew Casperson <mcaspers> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.3 | CC: | cbredesen, lnewson, mcaspers |
| Target Milestone: | --- | ||
| Target Release: | 1.4 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-02-23 23:44:02 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Zac Dover
2013-12-16 04:32:41 UTC
This works fine if you use the — entity, I believe this is the preferred approach and as such em dashes shouldn't be used directly. However I'd have to check with Matt on that one. This is probably something to do with the way the emscripten virtual file system deals with UTF8 files. It looks like any non-ascii character will cause validation issues. This bug describes an issue with UTF8 files and the Emscripten virtual file system - https://github.com/kripken/emscripten/pull/402. It appears to be fixed a year ago, but the xml.js library we are using (https://github.com/kripken/xml.js) is two years old. I'll have to recompile xml.js with the latest version of emscripten. Fixed in 201401151143 and deployed to the dev server. xmllint has been recompiled from libxml2 2.9.1 with the latest version of Emscripten. The library and instructions on the compilation process can be found at https://github.com/pressgang-ccms/xsltproc.js. Now all UTF8 characters, like the mdash, will validate properly. Verified that mdash as well as other UTF-8 characters validate correctly. Note: This also fixed an issue with characters from other languages being marked as invalid. |