On 2012-05-15 16:29, Thomas Mueller wrote:
Hi,
How to formulate: any node
with any property equal to x, where the property is of type y. We might
need to extend the SQL-2 syntax...
Not sure what you are referring to here;
About node (non-weak) references - if you want to delete a node, you first
I see.
need to check that there are no references to this node. The reference
could be in any property (but it's not fulltext search). Is it possible to
describe that using XPath?
//*[@*=$uuid]
But of course that would check all properties; not just REFERENCE
properties.
the context was lookup by
identifier. I would expect the query to be something like
SELECT jcr:path WHERE jcr:uuid = ....
So the only thing to worry about might be quoting special characters in
identifiers.
Yes that should work well.
Regards,
Thomas