Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Data-Rx CPAN distribution.

Report information
The Basics
Id: 58058
Status: resolved
Priority: 0/
Queue: Data-Rx

People
Owner: Nobody in particular
Requestors: nomad [...] null.net
Cc:
AdminCc:

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



Subject: Rx Project needs community tools
Date: Wed, 2 Jun 2010 17:58:55 +0200
To: bug-Data-Rx [...] rt.cpan.org
From: Mark Lawrence <nomad [...] null.net>
I'm raising this issue here because http://codesimply.com/contact.pl generates a 500 internal server error. Interested in your Rx schemata, have some questions and would like communicate with others in the same situation. However you don't appear to have put in place the tools (ie mailing list) for a community to develop around this idea. Any plans to do so? (or at least make it obvious if I have missed the pointer) My real question is this: is it possible to specify enumerated values for the //str type? Something like this: { "type": "//str", "of": [ "HIGH", "MEDIUM", "LOW", ] } Regards, Mark. -- Mark Lawrence
Sorry about that error! Yikes. In the meantime, it looks like you've managed to joint he mailing list, which does exist :) I will try to address your question after lunch, which I am told has just been served. -- rjbs
On 2010-06-02 12:30:53, nomad@null.net wrote: Show quoted text
> My real question is this: is it possible to specify enumerated values > for the //str type? Something like this: > > { > "type": "//str", > "of": [ > "HIGH", > "MEDIUM", > "LOW", > ] > }
{ "type": "any", "of": [ { "type": "//str", "value": "HIGH" }, ... ], } This is a bit verbose, but does what you want. I think //str is unlikely to get that option, to keep the cost of implementing an Rx checker low. Let me know if this is not a helpful answer! -- rjbs