-
-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: update tmx writer, escaper, and unit test #1049
base: master
Are you sure you want to change the base?
feat: update tmx writer, escaper, and unit test #1049
Conversation
- use double quote for attribute - format indentation and empty line Signed-off-by: Hiroshi Miura <[email protected]>
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
- Add TmxEscapingWriterFactory and inner EscapeWriter class - Set custom factory with P_TEXT_ESCAPER property Signed-off-by: Hiroshi Miura <[email protected]>
Signed-off-by: Hiroshi Miura <[email protected]>
Signed-off-by: Hiroshi Miura <[email protected]>
e6dc5b7
to
0363a9e
Compare
Signed-off-by: Hiroshi Miura <[email protected]>
37fcf48
to
a5ea8d4
Compare
Signed-off-by: Hiroshi Miura <[email protected]>
This comment was marked as resolved.
This comment was marked as resolved.
Signed-off-by: Hiroshi Miura <[email protected]>
@brandelune this PR is created by your request. Have you already lost the interest? |
The change here make a modification and an override of a deep and core part of XML writing, marshal. When there is a potential bug, it can break things easily. To reduce sub effect in another place, it only apply a TMXWriter2, TMX writing class. So there is no change in preferences, and other XML related features. |
Thank you for the nice reminder :-) |
@t-cordonnier do you have an opinion on this ? |
Maybe no opinion. |
Is it still needed? |
Do you mean that there is no option in the new library to make the behavior the same as in 6.0? I don’t think we should take risks with such overrides. So I’m still eager to have @t-cordonnier’s opinion. |
Pull request type
Which ticket is resolved?
What does this PR change?
Other information
com.sun.xml.bind.marshaller#escape
which is ultimately OmegaT 6.0 and before use is as follows;