The grammar (pasted in the spec) for the use_node
slot refers to object_path which is not actually
defined in the path grammar. Furthermore, I can't
actually tell from the spec whether use_node
is restricted to absolute paths, or whether it can
also accept relative paths.
So obviously the grammar needs to be updated to
use the right path rule, but I am also thinking that
perhaps the use_node section needs some
explanation of what types of paths are allowed
to be used and what the ramifications are
if relative paths are also acceptable.
The grammar (pasted in the spec) for the use_node
slot refers to object_path which is not actually
defined in the path grammar. Furthermore, I can't
actually tell from the spec whether use_node
is restricted to absolute paths, or whether it can
also accept relative paths.
So obviously the grammar needs to be updated to
use the right path rule, but I am also thinking that
perhaps the use_node section needs some
explanation of what types of paths are allowed
to be used and what the ramifications are
if relative paths are also acceptable.
It's implemented as absolute_path in the adl-parser on the trunk of
the Java project. The grammar of absolute_path is defined in the ADL
spec. All the use_node slots from the openEHR archetypes seem to use
absolute path so far. I doubt the usefulness of relative_path in
use_node slots. But the example ADL for use_node uses a relative_path.
I agree the spec needs to be clearer.
The grammar (pasted in the spec) for the use_node
slot refers to object_path which is not actually
defined in the path grammar. Furthermore, I can't
actually tell from the spec whether use_node
is restricted to absolute paths, or whether it can
also accept relative paths.
this should be 'absolute_path', which is in the path syntax section.
Must be a typo that slipped by some time ago... I have corrected it now
in the ADL 1.5 draft.
So obviously the grammar needs to be updated to
use the right path rule, but I am also thinking that
perhaps the use_node section needs some
explanation of what types of paths are allowed
to be used and what the ramifications are
if relative paths are also acceptable.
only absolute paths are allowed (so far; I think anything else will be
too complicated and I don't see any strong need)