Subject: | astma parser barfs on reified assoc |
Date: | Tue, 22 May 2007 17:26:17 +1000 |
To: | bug-TM [...] rt.cpan.org |
From: | Alexander Zangerl <az [...] bond.edu.au> |
tm 1.26 cannot parse this perfectly sensible association:
---
(is-notated-in) is-reified-by notate-meta-data-by-topicmaps
notation : topicmaps
data : meta-data
---
symptom:
reifier must be local identifier at yapp/astma-fact.yp line 297.
line 297 misinterprets the allowed characters in local names:
die "reifier must be local identifier" unless $_[5]->[1] =~ /^\w+$/;
\w doesn't include the hyphen, the colon or the dot which are all allowed
as per xml names syntax.
if the regex is modified to
/^[a-z_:]([a-z0-9_:.-]*)$/i
then things start working again.
regards
az
--
+ Alexander Zangerl az@bond.edu.au DSA 0xF860ACF1 +
+ Bond University IT School phone +61 7 5595 3398 +
Message body not shown because it is not plain text.