Author: knoaman
Date: Mon Aug 8 20:03:23 2011
New Revision: 1155074
URL: http://svn.apache.org/viewvc?rev=1155074&view=rev
Log:
Element Delcaration Consistent
When matching a wildcard, the type of the matched global declaration must be
same or validly derived from the type of any local element delcaration with the
same name
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=1155074&r1=1155073&r2=1155074&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
Mon Aug 8 20:03:23 2011
@@ -206,7 +206,8 @@
cos-ct-extends.1.4.3.2.2.3.4 = cos-ct-extends.1.4.3.2.2.3.4: The
namespace constraint of the wildcard on the open content of the base type must
be a subset of the namespace constraint of the wildcard on the open content of
the derived type. This is not the case for type ''{0}''.
cos-content-act-restrict.5.3 = cos-content-act-restrict.5.3: Error for
type ''{0}''. The attribute use ''{1}'' in this type has value of
''inheritable'', which is inconsistent with the value in the base type.
cos-element-consistent = cos-element-consistent: Error for type
''{0}''. Multiple elements with name ''{1}'', with different types, appear in
the model group.
- cos-element-consistent.4 = cos-element-consistent.4: Error for type
''{0}''. Multiple elements with name ''{1}'', with non equivalent type tables,
appear in the model group.
+ cos-element-consistent.4.a = cos-element-consistent.4: A wildcard
matched a global element ''{0}'' whose type ''{1}'' is not validly derived from
the type definition, ''{2}'', of a local element with the same name.
+ cos-element-consistent.4.b = cos-element-consistent.4: Error for type
''{0}''. Multiple elements with name ''{1}'', with non equivalent type tables,
appear in the model group.
cos-list-of-atomic = cos-list-of-atomic: In the definition of list
type ''{0}'', type ''{1}'' is an invalid list element type because it is not
atomic (''{1}'' is either a list type, or a union type which contains a list).
cos-nonambig = cos-nonambig: {0} and {1} (or elements from their
substitution group) violate \"Unique Particle Attribution\". During validation
against this schema, ambiguity would be created for those two particles.
cos-particle-extends.3.1 = cos-particle-extends.3.1: When both a
derived type and its base have particles with <all> as their {term}s, the
minOccurs of the derived particle needs to be equal to that of its base.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]