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

Velocity Template Language (VTL) statements not recognized by Eclipse #1

Open
jbn1981 opened this issue Oct 5, 2018 · 1 comment
Open

Comments

@jbn1981
Copy link

jbn1981 commented Oct 5, 2018

It seems than Eclipse Oxygen.3a Release (4.7.3a) is unable to recognize these 3 VTL statements at the beggining of xhtml/xml files:

#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )

For xml files the error is "Content is not allowed in prolog".
For layout.xhtml the warning is "Invalid text string".

Thanks in advance. Awesome work!

@arjantijms
Copy link
Member

Since they are templated files, that's sort of expected. I'm not entirely sure how to remedy this though.

Either Eclipse would have to recognise it somehow, or these files will have to be excluded from Eclipse validation. The latter can be done via an Eclipse project file, but these are excluded themselves it .gitignore.

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