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

with statements must precede mode statements #44

Closed
philshafer opened this issue Dec 4, 2017 · 2 comments
Closed

with statements must precede mode statements #44

philshafer opened this issue Dec 4, 2017 · 2 comments
Assignees
Labels

Comments

@philshafer
Copy link
Contributor

This works:

    apply-templates {
	with $tag = $tag;
	with $x = @x;
	with $y = @y;
	with $indent = $indent;
	mode "line";
        }

This doesn't:

    apply-templates {
	mode "line";
	with $tag = $tag;
	with $x = @x;
	with $y = @y;
	with $indent = $indent;
        }

The error is especially useless:

pass2.slax:98: unexpected input: 'with'; expected close brace ('}')

The order of "sort", "with", and "mode" should not matter; libslax should handle any requirements that xslt has and keep the user isolated.

Thanks,
Phil

@philshafer philshafer added the bug label Dec 4, 2017
@philshafer philshafer self-assigned this Dec 4, 2017
@philshafer
Copy link
Contributor Author

Have fix in hand

philshafer pushed a commit that referenced this issue Aug 9, 2018
philshafer pushed a commit that referenced this issue Aug 9, 2018
philshafer pushed a commit that referenced this issue Aug 9, 2018
philshafer pushed a commit that referenced this issue Aug 9, 2018
philshafer pushed a commit that referenced this issue Aug 9, 2018
@philshafer
Copy link
Contributor Author

Fixed in 'develop' branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant