Attributes deleted
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 168
- Joined: Fri Jan 20, 2017 1:11 pm
Attributes deleted
Hello,
We use oxygen-18.1.0.0.jar, and we have a problem with attributes in a tag after an undo.
We have this tag :
1°) We add a white space in the tag <text>
2°) We make an undo (Ctrl+Z)
3°) We had a new tag <FreeText/> between </Phr> and </BlocText> from the widget "Elements"
And then the attributes code and locale have been deleted.
We have not overriden the undo method.
I have tried with the version 20.0, and we still have this problem.
Have you any ideas where it comes from ?
Regards,
Isabelle
We use oxygen-18.1.0.0.jar, and we have a problem with attributes in a tag after an undo.
We have this tag :
Code: Select all
<BlocText>
<Phr code="0162876602668Xtl" locale="fr_FR">
<text>produit décapant homologué</text>
</Phr>
</BlocText>
2°) We make an undo (Ctrl+Z)
3°) We had a new tag <FreeText/> between </Phr> and </BlocText> from the widget "Elements"
And then the attributes code and locale have been deleted.
We have not overriden the undo method.
I have tried with the version 20.0, and we still have this problem.
Have you any ideas where it comes from ?
Regards,
Isabelle
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Attributes deleted
Hi Isabelle,
So what API extensions are you using? For example did you set the "code" and "local" attributes on the element using our Attributes view or using your custom code? If you used your custom code, did you use the AuthorDocumentController to set the attributes to the element or did you set them directly on the AuthorElement? If the latter, then please use the AuthorDocumentController for all deletions and insertions of attributes on an element.
Regards,
Radu
So what API extensions are you using? For example did you set the "code" and "local" attributes on the element using our Attributes view or using your custom code? If you used your custom code, did you use the AuthorDocumentController to set the attributes to the element or did you set them directly on the AuthorElement? If the latter, then please use the AuthorDocumentController for all deletions and insertions of attributes on an element.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “SDK-API, Frameworks - Document Types”
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