DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19104>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19104 [PATCH] SchematronValidator incorrectly creates JXPath contexts which breaks tests in schemas [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[EMAIL PROTECTED] Status|NEW |ASSIGNED ------- Additional Comments From [EMAIL PROTECTED] 2003-06-04 23:32 ------- http://jakarta.apache.org/commons/jxpath/apidocs/org/apache/commons/jxpath/JXPathContext.html#getRelativeContext(org.apache.commons.jxpath.Pointer) vs. http://jakarta.apache.org/commons/jxpath/apidocs/org/apache/commons/jxpath/JXPathContext.html#newContext(org.apache.commons.jxpath.JXPathContext, java.lang.Object) You have the changed code in use, so you are testing it on your system? >From my understanding of the JXPath javadoc the change sounds ok. But does this break the referencing of objects with absolute paths? for example (taken from http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=102691746404294&w=2): <pattern name="User Info Validation Pattern" id="reg"> <rule context="/userName"> <assert test="string-length(.) > 7"> Username should be at least 8 characters. </assert> <assert test="string-length(.) < 20"> Username should be less than 20 characters. </assert> </rule> <rule context="/password"> <assert test="string-length(.) > 7"> Password should be at least 8 characters. </assert> <assert test="string-length(.) < 20"> Password should be less than 20 characters. </assert> </rule> <rule context="/email"> <assert test="contains( string(.),'@')"> Email format is invalid. </assert> </rule> </pattern> Anybody against the change? Joerg