Clicking "Add [table] Column After" can break XHTML structure
Oxygen general issues.
-
- Posts: 88
- Joined: Wed Feb 11, 2015 11:25 pm
- Location: San Francisco, California USA
- Contact:
Clicking "Add [table] Column After" can break XHTML structure
For oXygen XML Editor 18, Windows 7 64-bit.
IF I use oXygen to create a new XHTML file, AND insert a table into that file, AND in Author mode, in the table's rightmost column, I click Insert a new table column after..., THEN the inserted column inserts a misplaced <col /> tag into the XHTML. This results in oXygen's XHTML validator reporting an error.
I have screenshots but can't figure out how to upload them to illustrate the problem. So I'll try with text only.
1. I begin in Author mode with a new XHTML file. I add a table to that file. Part of that XHTML must be a ColGroup structure as follows:
--> At this point the entire XHTML file validates with zero errors.
2. In Author mode and Tags display mode == Full Tags, I place the insertion point in the rightmost column of the table to enable the table authoring icons in the toolbar, then in the toolbar click Insert a new table column after the current one.
--> oXygen adds a column to the right side of the table at which point the the Author mode editing window includes red error indicators -- the XHTML no longer validates without error.
3. I return to Text mode. The XHTML now contains the following:
--> Clicking Insert a new table column after... added a new table column to the right side of the table BUT inserted the associated <col /> tag outside of the ColGroup structure. The XHMTL no longer validates without error.
NOTE:
Riley
IF I use oXygen to create a new XHTML file, AND insert a table into that file, AND in Author mode, in the table's rightmost column, I click Insert a new table column after..., THEN the inserted column inserts a misplaced <col /> tag into the XHTML. This results in oXygen's XHTML validator reporting an error.
I have screenshots but can't figure out how to upload them to illustrate the problem. So I'll try with text only.
1. I begin in Author mode with a new XHTML file. I add a table to that file. Part of that XHTML must be a ColGroup structure as follows:
Code: Select all
<colgroup>
<col class="col01" />
<col class="col02" />
<col class="col03" />
</colgroup>
2. In Author mode and Tags display mode == Full Tags, I place the insertion point in the rightmost column of the table to enable the table authoring icons in the toolbar, then in the toolbar click Insert a new table column after the current one.
--> oXygen adds a column to the right side of the table at which point the the Author mode editing window includes red error indicators -- the XHTML no longer validates without error.
3. I return to Text mode. The XHTML now contains the following:
Code: Select all
<colgroup>
<col class="col01" />
<col class="col02" />
<col class="col03" />
</colgroup>
<col />
NOTE:
- If I click Insert a new table column... in the RIGHTMOST column of a table, this immediately breaks the structure of the XHTML.
- If I click in a column that is NOT rightmost, the tag is still inserted but because it's inserted within the ColGroup structure no error occurs.
Riley
Re: Clicking "Add [table] Column After" can break XHTML structure
Hi Riley,
Thank you for reporting this issue. Indeed, there are some problems with table related operations in XHTML 5 documents.
We will solve this and we will let you know when the fix will be available.
Best regards,
Mihaela
Thank you for reporting this issue. Indeed, there are some problems with table related operations in XHTML 5 documents.
We will solve this and we will let you know when the fix will be available.
Best regards,
Mihaela
Mihaela Calotescu
http://www.oxygenxml.com
http://www.oxygenxml.com
-
- Posts: 397
- Joined: Mon May 09, 2016 9:37 am
Re: Clicking "Add [table] Column After" can break XHTML structure
Post by sorin_carbunaru »
Hello,
I am glad to let you know that the problem related to the insertion of a new table column from the rightmost existing one in XHTML has been fixed in the newly released oXygen 18.1.
All the best wishes,
Sorin Carbunaru
oXygen XML
I am glad to let you know that the problem related to the insertion of a new table column from the rightmost existing one in XHTML has been fixed in the newly released oXygen 18.1.
All the best wishes,
Sorin Carbunaru
oXygen XML
-
- Posts: 88
- Joined: Wed Feb 11, 2015 11:25 pm
- Location: San Francisco, California USA
- Contact:
Re: Clicking "Add [table] Column After" can break XHTML structure
Yep -- just verified that it now works as expected.sorin_carbunaru wrote:...the problem related to the insertion of a new table column from the rightmost existing one in XHTML has been fixed in the newly released oXygen 18.1.
Cheers & thanks,
Riley
SFO
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service