[ALOY-1052] Support use of L in XML proxy elements
[ALOY-1052] move check to a function for reusability
Merge pull request #469 from feons/ALOY-1052

[ALOY-1052] Support use of L in XML proxy elements