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

Compact syntax for settings.xml #389

Closed
o-sdn-o opened this issue May 25, 2023 · 1 comment
Closed

Compact syntax for settings.xml #389

o-sdn-o opened this issue May 25, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request XML
Milestone

Comments

@o-sdn-o
Copy link
Collaborator

o-sdn-o commented May 25, 2023

The following declarations should be equivalent

<block>
    <item>
        <param=value/>
    </item>
</block>
<block/item/param=value/>

It turns out that the following declarations are also equivalent

<block>
    <param>
        <nested=value>
            <block1=value1/>
            <block2>
                <attr=value2/>
            </block2>
        </nested>
    </param>
</block>
<block/param/nested=value block1=value1 block2/attr=value2 />
@o-sdn-o o-sdn-o added enhancement New feature or request XML labels May 25, 2023
@o-sdn-o o-sdn-o added this to the v1.0.0 milestone May 25, 2023
@o-sdn-o o-sdn-o self-assigned this May 25, 2023
@o-sdn-o
Copy link
Collaborator Author

o-sdn-o commented May 31, 2023

This syntax modification does more harm than good. It's easier to generate a configuration with a script than manually write it out with a cool syntax.

Closed in favor of #393.

@o-sdn-o o-sdn-o closed this as completed May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request XML
Projects
None yet
Development

No branches or pull requests

1 participant