Bug 842198
Summary: | [WebTrans] False validation warning on XML numeric entity reference with a leading space. | ||
---|---|---|---|
Product: | [Retired] Zanata | Reporter: | Ding-Yi Chen <dchen> |
Component: | Component-UI | Assignee: | Alex Eng <aeng> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Ding-Yi Chen <dchen> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 1.7 | CC: | sflaniga, zanata-bugs |
Target Milestone: | --- | ||
Target Release: | 1.7.2 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 1.7.2-SNAPSHOT (20120809-0001) | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-11-29 23:29:37 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: | |
Embargoed: |
Description
Ding-Yi Chen
2012-07-23 02:48:34 UTC
Assigning to Zanata Dev Team for evaluation Implemented fix. See https://github.com/zanata/zanata/commit/6419da9d49a8f49a0920652f9e063d198f784139 I think this is the sort of thing we need to fix in 1.7.x. Fix backported to 1.7.2. Tested with 1.8.0-SNAPSHOT (20120806-0025) and 1.7.2-SNAPSHOT (20120806-0012) The "Web "" no longer gives false warning, however, they failed to give warning in following cases: &#YKK; &#BBRR; In other words, xml numeric entities that are neither decimal nor hexadecimal should produce warning like "invalid xml numeric entity". http://en.wikipedia.org/wiki/Numeric_character_reference shows the valid format and restrictios. Reassigned. Implemented numeric xml entity validation. See https://github.com/zanata/zanata/commit/7eb7e4793d8c1d5fefc5c5e545c5c45e2c363e74 VERIFIED with 1.8.0-SNAPSHOT (20120809-0024) and 1.7.2-SNAPSHOT (20120809-0001) |