mrglavas    2004/03/16 19:40:28

  Modified:    java/src/org/apache/xerces/impl/msg
                        XMLSchemaMessages.properties
  Log:
  Improving language in some of our schema
  messages thanks to this patch by Neil Delima.
  
  Revision  Changes    Path
  1.74      +10 -10    
xml-xerces/java/src/org/apache/xerces/impl/msg/XMLSchemaMessages.properties
  
  Index: XMLSchemaMessages.properties
  ===================================================================
  RCS file: 
/home/cvs/xml-xerces/java/src/org/apache/xerces/impl/msg/XMLSchemaMessages.properties,v
  retrieving revision 1.73
  retrieving revision 1.74
  diff -u -r1.73 -r1.74
  --- XMLSchemaMessages.properties      19 Jan 2004 15:30:11 -0000      1.73
  +++ XMLSchemaMessages.properties      17 Mar 2004 03:40:28 -0000      1.74
  @@ -139,7 +139,7 @@
           ag-props-correct.2 = ag-props-correct.2: Error for attribute group ''{0}''. 
 Duplicate attribute uses with the same name and target namespace are specified.  Name 
of duplicate attribute use is ''{1}''.
           ag-props-correct.3 = ag-props-correct.3: Error for attribute group ''{0}''. 
 Two attribute declarations, ''{1}'' and ''{2}'' have types which are derived from ID.
           a-props-correct.2 = a-props-correct.2: Invalid value constraint value 
''{1}'' in attribute ''{0}''.
  -        a-props-correct.3 = a-props-correct.3: Attribute ''{0}'' cannot use 
''fixed'' or ''default'', because its '{'type definition'}' is, or is derived from, ID.
  +        a-props-correct.3 = a-props-correct.3: Attribute ''{0}'' cannot use 
''fixed'' or ''default'', because the attribute's '{'type definition'}' is ID, or is 
derived from ID.
           au-props-correct.2 = au-props-correct.2: In the attribute declaration of 
''{0}'', a fixed value of ''{1}'' was specified. So if the attribute use referring to 
''{0}'' also has a '{'value constraint'}', it must be fixed and its value must be 
''{1}''.
           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.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.
  @@ -159,7 +159,7 @@
           cos-st-restricts.3.3.1.1 = cos-st-restricts.3.3.1.1: The '{'final'}' 
component of the '{'member type definitions'}', ''{0}'', contains ''union''. This 
means that ''{0}'' cannot be used as an member type for union type ''{1}''.
           cos-valid-default.2.1 = cos-valid-default.2.1: Element ''{0}'' has a value 
constraint and must have a mixed or simple content model.
           cos-valid-default.2.2.2 = cos-valid-default.2.2.2: Since element ''{0}'' 
has a '{'value constraint'}' and its type definition has mixed '{'content type'}', 
then the particle of the '{'content type'}'' must be emptiable.
  -        c-props-correct.2 = c-props-correct.2: Cardinality of Fields for keyref 
''{0}'' and key ''{1}'' must match.
  +        c-props-correct.2 = c-props-correct.2: Cardinality of Fields for keyref 
''{0}'' and key ''{1}'' must match each other.
           ct-props-correct.3 = ct-props-correct.3: Circular definitions detected for 
complex type ''{0}''. This means that ''{0}'' is contained in its own type hierarchy, 
which is an error.
           ct-props-correct.4 = ct-props-correct.4: Error for type ''{0}''. Duplicate 
attribute uses with the same name and target namespace are specified.  Name of 
duplicate attribute use is ''{1}''.
           ct-props-correct.5 = ct-props-correct.5: Error for type ''{0}''. Two 
attribute declarations, ''{1}'' and ''{2}'' have types which are derived from ID.
  @@ -182,15 +182,15 @@
           enumeration-valid-restriction = enumeration-valid-restriction: Enumeration 
value ''{0}'' is not in the value space of the base type, {1}.
           e-props-correct.2 = e-props-correct.2: Invalid value constraint value 
''{1}'' in element ''{0}''.
           e-props-correct.4 = e-props-correct.4: The '{'type definition'}' of element 
''{0}'' is not validly derived from the '{'type definition'}' of the substitutionHead 
''{1}'', or the '{'substitution group exclusions'}' property of ''{1}'' does not allow 
this derivation.
  -        e-props-correct.5 = e-props-correct.5: There must not be a '{'value 
constraint'}' on element ''{0}'', because its '{'type definition'}' or '{'type 
definition'}'''s '{'content type'}' is ID, or is derived from ID.
  +        e-props-correct.5 = e-props-correct.5: A '{'value constraint'}' must not be 
present on element ''{0}'', because the element''s '{'type definition'}' or '{'type 
definition'}'''s '{'content type'}' is ID, or is derived from ID.
           e-props-correct.6 = e-props-correct.6: Circular substitution group detected 
for element ''{0}''.
           fractionDigits-valid-restriction = fractionDigits-valid-restriction: In the 
definition of {2}, the value ''{0}'' for the facet ''fractionDigits'' is invalid, 
because it must be <= the value for ''fractionDigits'' which was set to ''{1}'' in one 
of the ancestor types.
  -        fractionDigits-totalDigits = fractionDigits-totalDigits: In the definition 
of {2}, the value ''{0}'' for the facet ''fractionDigits'' is invalid, because it must 
be <= the value for ''totalDigits'' which is ''{1}''.
  -        length-minLength-maxLength.a = length-minLength-maxLength.a: It is an error 
for both length and either of minLength or maxLength to be specified. However, {0} has 
length = ''{1}'', minLength = ''{2}'' and maxLength = ''{3}''.
  -        length-minLength-maxLength.b = length-minLength-maxLength.b: It is an error 
for both length and either of minLength or maxLength to be specified. However, {0} has 
length = ''{1}'' and minLength = ''{2}''.
  -        length-minLength-maxLength.c = length-minLength-maxLength.c: It is an error 
for both length and either of minLength or maxLength to be specified. However, {0} has 
length = ''{1}'' and maxLength = ''{2}''.
  -        length-minLength-maxLength.d = length-minLength-maxLength.b: For type {0}, 
it is an error for the value of length ''{1}'' to be less than the value of minLength 
''{2}''.
  -        length-minLength-maxLength.e = length-minLength-maxLength.c: For type {0}, 
it is an error for the value of length ''{1}'' to be greater than the value of 
maxLength ''{2}''.
  +        fractionDigits-totalDigits = fractionDigits-totalDigits: In the definition 
of {2}, the value ''{0}'' for the facet ''fractionDigits'' is invalid, because the 
value must be <= the value for ''totalDigits'' which is ''{1}''.
  +        length-minLength-maxLength.a = length-minLength-maxLength.a: It is an error 
to specify both length and either of minLength or maxLength. However, {0} has length = 
''{1}'', minLength = ''{2}'' and maxLength = ''{3}''.
  +        length-minLength-maxLength.b = length-minLength-maxLength.b: It is an error 
to specify both length and either of minLength or maxLength. However, {0} has length = 
''{1}'' and minLength = ''{2}''.
  +        length-minLength-maxLength.c = length-minLength-maxLength.c: It is an error 
to specify both length and either of minLength or maxLength. However, {0} has length = 
''{1}'' and maxLength = ''{2}''.
  +        length-minLength-maxLength.d = length-minLength-maxLength.d: For type {0}, 
it is an error for the value of length ''{1}'' to be less than the value of minLength 
''{2}''.
  +        length-minLength-maxLength.e = length-minLength-maxLength.e: For type {0}, 
it is an error for the value of length ''{1}'' to be greater than the value of 
maxLength ''{2}''. 
           length-valid-restriction = length-valid-restriction: Error for type 
''{2}''. The value of length = ''{0}'' must be = the value of that of the base type 
''{1}''.
           maxExclusive-valid-restriction.1 = maxExclusive-valid-restriction.1: Error 
for type ''{2}''. The maxExclusive value =''{0}'' must be <= maxExclusive of the base 
type ''{1}''.
           maxExclusive-valid-restriction.2 = maxExclusive-valid-restriction.2: Error 
for type ''{2}''. The maxExclusive value =''{0}'' must be <= maxInclusive of the base 
type ''{1}''.
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to