Skip to content
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

Translate to pom.xml mishandled XML entity #35

Closed
binkley opened this issue Apr 24, 2015 · 1 comment
Closed

Translate to pom.xml mishandled XML entity #35

binkley opened this issue Apr 24, 2015 · 1 comment

Comments

@binkley
Copy link
Contributor

binkley commented Apr 24, 2015

Neat - I can run the translator in reverse to generate pom.xml from pom.yml.

However roundtrip failed for an XML entity, in this creating extra entries for MANIFEST.MF:

Source pom.xml contains

<Built-By>B. K. Oxley (binkley) &lt;binkley@alumni.rice.edu&gt;</Built-By>

Generated pom.yml contains:

Built-By: B. K. Oxley (binkley) binkley@alumni.rice.edu>

Roundtrip translate back to XML contains (note the > near the end of the line):

<Built-By>B. K. Oxley (binkley) &lt;binkley@alumni.rice.edu></Built-By>

So interestingly the LT entity was translated back, but the GT entity was not, producing invalid XML.

@binkley binkley changed the title Translate to maven mishandled XML entity Translate to pom.xml mishandled XML entity Apr 24, 2015
@mosabua
Copy link
Member

mosabua commented Mar 2, 2018

This is such an edge case. You can work around it simply by using other brackets around your email or just no brackets. I am closing the ticket.

@mosabua mosabua closed this as completed Mar 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants