XSL tag attribute with name 'for' has value flagged as unresolved symbol
When entering a custom XML namespace tag, if the word 'for' is used for an attribute name, it's value will be flagged as an unresolved symbol. For example, in the (contrived) code below:
]]>
the value forValue of attribute for in the gml:someTag tag will be flagged as an unresolved symbol. Perhaps IDEA thinks that attribute name 'for' is some kind of reserved word - but as far as I'm aware, it's legitimate here and it works OK with our XSLT processor.
Is this an IDEA parsing bug, or am I and our XSLT processor mistaken in thinking that this code is valid ?
Please sign in to leave a comment.
Hello Dave,
this is a bug in IDEA that tries to resolve the value of the for-attribute as the ID of another
element. Please see http://www.jetbrains.net/jira/browse/IDEA-19937
Sascha
Thanks for the update, Sascha.