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=13283>. 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=13283 regular pattern checking does not work for [.\n]* Summary: regular pattern checking does not work for [.\n]* Product: Xerces-C++ Version: 2.1.0 Platform: Sun OS/Version: Solaris Status: NEW Severity: Normal Priority: Other Component: Build AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I have the following simple type: <simpleType name="testRegType"> <restriction base="string"> <pattern value="[.\n]*"/> </restriction> </simpleType> which is a valid XML Schema type, also according to the xerces C++ parser. However when validating the following document (element X has type testRegType): <X> The next sentence is not true The previous sentence is true </X> Pparse gives the following error: Message: Datatype error: Type:InvalidDatatypeValueException, Message:Value ' The next sentence is not true The previous sentence is true ' does not match regular expression facet '[.\n]* However, the value DOES match the pattern. This seems like a bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
