Skip Menu |

This queue is for tickets about the TM CPAN distribution.

Report information
The Basics
Id: 27235
Status: resolved
Priority: 0/
Queue: TM

People
Owner: Nobody in particular
Requestors: az [...] bond.edu.au
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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 +
Download (untitled)
application/pgp-signature 189b

Message body not shown because it is not plain text.

On Tue May 22 03:27:29 2007, az@bond.edu.au wrote: Show quoted text
> 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.
Fixed in 1.42. \rho