Hi,

I just encountered an error I did not quite expect while querying Sedna for an invalid document name.

Compare a non-existing short document URI with " (HTML-escaped double quote) appended:

test> doc('xxxxxx"') &
SEDNA Message: ERROR FODC0005
Invalid argument to fn:doc.
Details: Invalid document URI 'xxxxxx"'
Query line: 1

vs. a non-existing long document URI with " appended.

test> doc('xxxxxxxxxxxxxxxxxxxx"') &
SEDNA Message: ERROR FORX0002
Invalid regular expression.
Details: match failed: PCRE_ERROR_MATCHLIMIT

For the second query, I would also expect the error "Invalid document URI". The Invalid regular expression / PCRE_ERROR_MATCHLIMIT message is a little confusing.
Maybe an oversight in some internal regular expression?

A minor issue perhaps, but I just wanted to let you know.

--
Kind regards,

Rolf Timmermans


Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Sedna-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sedna-discussion

Reply via email to