| Summary: | Bug: Incorrect Table XML is validated as well formed | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Community] PressGang CCMS | Reporter: | Misha H. Ali <mhusnain> | ||||
| Component: | Web-UI | Assignee: | Lee Newson <lnewson> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 1.2 | CC: | lnewson, mcaspers, thildred | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 1.3 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2013-12-03 22:16:25 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: | |||||
| Bug Depends On: | |||||||
| Bug Blocks: | 996341 | ||||||
| Attachments: |
|
||||||
|
Description
Misha H. Ali
2013-11-05 01:27:05 UTC
Created attachment 819442 [details]
Invalid Table Data
Attached what error appears when table XML is copied to an offline publican book and publican build is run.
Fixed in 1.3-SNAPSHOT build 201311061544 Example output: topic.xml:0: element table: validity error : cols declaration doesn't match the number of entry elements Note: Currently the line number just refers to the start of the topic instead of the actual table line number. We can get the line number but it requires extra processing, so I need to do some tests to see if the extra processing take up too many resources, since the validation needs to be as fast as possible. Note 2: This version is currently only deployed on the test/development server. Updated the validation to include the linenumber in the error output in build 201311071437. This version is now live on the dev/test server. *** Bug 995952 has been marked as a duplicate of this bug. *** I tested various combinations of mismatched <colspec> elements, <entry> elements and @cols attribute values. The only case that breaks publican is more <entry>s than @cols, and this is now reflected in the xml validation errors. |