Make it possible to add comments to XPath constraints - Mendix Forum

Make it possible to add comments to XPath constraints

67

XPath allows the use of comments ( https://www.w3.org/TR/xpath20/#comments , not sure about the versioning)  but this does not seem to work in the modeler.

It would be great if we could use comments in the XPath constraints.

asked
6 answers

I also support this Idea. Oftentimes the XPATH expression gets complex and requires some comments for sake of clarification.

Created

Yes please!

Created

Definatly needed. Complex XPath constraints tend to get a bit messy, comments would really help to keep an overview of whats happening in each section.

Any chance getting this implemented?

Created

+1

Created

I fully support the idea.  It should be minimal work for Mendix with high value for the developers.

I also need comments in “expressions”

Created

bump this idea.  In my experience, any app besides a simple POC has complex XPath constraints.  Being able to document these would be great for my own use (if I wrote the xpath) or for other developers on my team.

Created