Closed fipro78 closed 1 year ago
Hi, here is my patch, it fixes #500 and adds to be handled as , sorry that this sneaks in. RichTextPainter.patch RichTextPainter.patch
Are you saying it is a valid xhtml to add a namespace to an end tag? Never seen this and can't find anything about that in the specs.
@lcaron Don't do anything with that patch file. It is incorrect in many ways! I have created a PR that contains the fixes: https://github.com/eclipse/nebula/pull/507
@jmauersberger Even though this is a project on GitHub, it is still an Eclipse project that has to follow processes. Let me give you some hints on your mistakes, so they don't happen the next time.
Technical:
Communication:
I hope you take my comments as a constructive critic so the next time your contributions follow the process and we don't need these short time actions and comments that might have broken the legal aspects of our release.
Sure Dirk, no offense taken, I felt a bit under pressure by Icaron's request, should have considered your points before hastily posting a patch, all of them are valid and obvious. I have signed an ECA some years back and the status was nicely shown on the old eclipse pages, I guess I need to get a refresher.
Anyway, on the technical side I have seen such XHTML in the wild so fixing the end tag was necessary too.
Hi @fipro78, I double checked my statement that we "saw end tags with namespaces in the wild". You are right that the end tag never has a namespace in the XHTML. However, the XML parser used by the RichTextPainter returns all XMLEvents with a namespace if there is one at the root begin tag, that includes also EndElement. That's why we needed also to change the XMLStreamConstants.END_ELEMENT case.
Hi Jan
I planned to release Nebula 3 tonight. If you can provide à patch, I can wait until tomorrow