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

problem in xml files #1

Open
djangoliv opened this issue Dec 19, 2018 · 3 comments
Open

problem in xml files #1

djangoliv opened this issue Dec 19, 2018 · 3 comments

Comments

@djangoliv
Copy link

djangoliv commented Dec 19, 2018

First, thanks for this. It is a good idea.
It works for me in html files but not in xml files.

For example, changing target in this file bellow does not change the good tags.

<?xml version="1.0" encoding="UTF-8"?>
<project name="test">
  <target name="test1">
    <exec executable="g">
      <arg file="new" />
    </exec>
  </target>
  <target name="test2">
    <echoproperties />
  </target>
</project>


Regards

@jcs090218
Copy link
Member

Hi, thanks for reporting the issue! I am not quite sure what is the problem here. I have paste the code and test it and could not seems to be any issue with it. And what do you mean by 'good' tags?

@djangoliv
Copy link
Author

djangoliv commented Dec 19, 2018

If I modify <target name="test1">, <target name="test2">" is also modify.
But I think this is the </target> which should be changed not all "target" tags.
Am I wrong?

@jcs090218
Copy link
Member

Yeah, not all the target tags changed. The thing that changes should only be the paring tag.

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