Author: mukulg Date: Wed Aug 24 08:57:44 2011 New Revision: 1161020 URL: http://svn.apache.org/viewvc?rev=1161020&view=rev Log: for the case when schema 1.1 assert xpath expressions begin with / or //, improving the description of warning message produced by Xerces.
Modified: xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/msg/XMLSchemaMessages.properties Modified: xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/msg/XMLSchemaMessages.properties URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/msg/XMLSchemaMessages.properties?rev=1161020&r1=1161019&r2=1161020&view=diff ============================================================================== --- xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/msg/XMLSchemaMessages.properties (original) +++ xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/msg/XMLSchemaMessages.properties Wed Aug 24 08:57:44 2011 @@ -111,7 +111,7 @@ cvc-assertions-valid-union-elem = cvc-assertions-valid-union-elem: Value ''{0}'' is not facet-valid with respect to the specified assertions, on type ''{2}'' on element ''{1}''. cvc-assertions-valid-union-attr = cvc-assertions-valid-union-attr: Value ''{0}'' is not facet-valid with respect to the specified assertions, on type ''{3}'' on attribute ''{2}'/@'{1}''. cvc-xpath.3.13.4.2a = cvc-xpath.3.13.4.2a: XPST0003 - Assertion XPath expression (''{0}'') on the schema type ''{1}'' couldn''t compile successfully. - cvc-xpath.3.13.4.2b = cvc-xpath.3.13.4.2b: Assertion XPath expression (''{0}'') on the schema type ''{1}'' is invalid. An assert XPath expression cannot begin with / or //, since an assert tree is rooted at a parentless element. + cvc-xpath.3.13.4.2b = cvc-xpath.3.13.4.2b: An assert XPath expression such as (''{0}'') beginning with / or //, on the schema type ''{1}'', cannot yield a valid node (since an assert tree is rooted at a parentless element). #schema valid (3.X.3) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@xerces.apache.org For additional commands, e-mail: commits-h...@xerces.apache.org