It looks it was too Monday morning when posting about this one, as the
2nd part is wrong.
On 10/16/06, Alexandru Popescu <[EMAIL PROTECTED]> wrote:
Hi!
I am a bit confused by the specification for the node names. According
to the spec (page 26-27), a node name can be:
name ::= simplename | prefixedname
simplename ::= onecharsimplename |
twocharsimplename |
threeormorecharname
and then:
onecharsimplename ::= (* Any Unicode character except: '.', '/', ':',
'[', ']', '*', ''', '"', '|' or any whitespace character *)
twocharsimplename ::= '.' onecharsimplename |
onecharsimplename '.' |
onecharsimplename onecharsimplename
According to the above it looks like I can have node names like:
.metadata or metadata. And according to the threeormorecharname I can
also have metadata.metadata. Is this correct?
This is correct.
Also, by reading the definition of threeormorecharname it looks like I
can have node names with only spaces. Is this really possible?
No, this is not possible. According to the definition:
threeormorecharname ::= nonspace string nonspace.
./alex
--
.w( the_mindstorm )p.
PS: thanks Jukka for the wake up call :-)
thanks in advance,
./alex
--
.w( the_mindstorm )p.