Author: mukulg
Date: Thu May  5 11:28:04 2011
New Revision: 1099756

URL: http://svn.apache.org/viewvc?rev=1099756&view=rev
Log:
improving one of schema 1.1 error message a bit.

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=1099756&r1=1099755&r2=1099756&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
 Thu May  5 11:28:04 2011
@@ -196,7 +196,7 @@
         cos-all-limited.1.2 = cos-all-limited.1.2: An 'all' model group must 
appear in a particle with '{'min occurs'}' = '{'max occurs'}' = 1, and that 
particle must be part of a pair which constitutes the '{'content type'}' of a 
complex type definition.
         cos-all-limited.1.3 = cos-all-limited.1.3: When an xs:group particle 
occurs as child of xs:all, then following condition must hold on xs:group 
particle, '{'min occurs'}' = '{'max occurs'}' = 1.
         cos-all-limited.2 = cos-all-limited.2: The '{'max occurs'}' of an 
element in an ''all'' model group must be 0 or 1. The value ''{0}'' for element 
''{1}'' is invalid.
-        cos-all-limited.2-xs11 = cos-all-limited.2-xs11: Incorrect schema 
instruction ''{0}'' found as child of ''xs:all -> xs:group''. Only the 
compositor xs:all is permitted as child of ''xs:all -> xs:group''.         
+        cos-all-limited.2-xs11 = cos-all-limited.2-xs11: Incorrect schema 
instruction ''{0}'' found as child of ''xs:group'' that is referred by this 
group reference. Groups that are referred from ''xs:all'', are allowed to 
contain only ''xs:all'' themselves.         
         cos-applicable-facets = cos-applicable-facets: Facet ''{0}'' is not 
allowed by type {1}.
         cos-ct-extends.1.1 = cos-ct-extends.1.1: Type ''{0}'' was derived by 
extension from type ''{1}''.  However, the ''final'' attribute of ''{1}'' 
forbids derivation by extension.
         cos-ct-extends.1.4.3.2.2.1.a = cos-ct-extends.1.4.3.2.2.1.a: The 
content type of a derived type and that of its base must both be mixed or both 
be element-only. Type ''{0}'' is element only, but its base type is not.



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to