| Summary: | CSBuilder incorrectly identifies topics as invalid | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Community] PressGang CCMS | Reporter: | Joshua Wulf <jwulf> | ||||||
| Component: | CSProcessor | Assignee: | Lee Newson <lnewson> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 1.x | CC: | jwulf, lcarlon | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2011-10-22 17:26:44 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Attachments: |
|
||||||||
Created attachment 528429 [details]
Skynet data including topics
Here's the skynet data with the topics in it
Created attachment 528430 [details]
Content spec for building
The problem was due to the UTF-16 encoding and we were always parsing it as UTF-8. We've now removed this so it will encode as to whats specified in the xml encoding attribute. If none are found then it will revert back to UTF-8. |
This is from the output from: skynet build 1 Every single topic with content failed validation, eg: 3. Translation Projects 3.1. Validation Error 3.2. Validation Error 3.3. Validation Error 3.4. Validation Error 3.5. No XML content 3.6. No XML content [jwulf@gaura Zanata_Quickstart]$ cat en-US/topics/361.xml <?xml version="1.0" encoding="UTF-8"?> <section> <title>Validation Error</title> <warning> <title>Topic 361 failed validation</title> <para>Topic 361 failed validation and is not included in this build.</para> </warning> </section> However: [jwulf@gaura Zanata_Quickstart]$ skt -v 361 Config file: /home/jwulf/sktopictest/sktopictest.conf Skynet: http://localhost TOPIC VALIDATED