Author: mrglavas
Date: Sun Aug 14 01:19:51 2011
New Revision: 1157452

URL: http://svn.apache.org/viewvc?rev=1157452&view=rev
Log:
JIRA Issue #1522: http://issues.apache.org/jira/browse/XERCESJ-1522. Removing 
trailing spaces from error messages. Thanks to Jesse Glick for locating these 
occurrences.

Modified:
    xerces/java/trunk/src/org/apache/xerces/impl/msg/SAXMessages.properties
    xerces/java/trunk/src/org/apache/xerces/impl/msg/XMLMessages.properties
    
xerces/java/trunk/src/org/apache/xerces/impl/msg/XMLSchemaMessages.properties
    
xerces/java/trunk/src/org/apache/xerces/impl/msg/XMLSerializerMessages.properties
    xerces/java/trunk/src/org/apache/xerces/impl/msg/XPointerMessages.properties

Modified: 
xerces/java/trunk/src/org/apache/xerces/impl/msg/SAXMessages.properties
URL: 
http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xerces/impl/msg/SAXMessages.properties?rev=1157452&r1=1157451&r2=1157452&view=diff
==============================================================================
--- xerces/java/trunk/src/org/apache/xerces/impl/msg/SAXMessages.properties 
(original)
+++ xerces/java/trunk/src/org/apache/xerces/impl/msg/SAXMessages.properties Sun 
Aug 14 01:19:51 2011
@@ -27,7 +27,7 @@ FormatFailed = An internal error occurre
 
 # JAXP messages
 schema-not-supported = The specified schema language is not supported.
-jaxp-order-not-supported = Property ''{0}'' must be set before setting 
property ''{1}''. 
+jaxp-order-not-supported = Property ''{0}'' must be set before setting 
property ''{1}''.
 schema-already-specified = Property ''{0}'' cannot be set when a non-null 
Schema object has already been specified.
 
 # feature messages

Modified: 
xerces/java/trunk/src/org/apache/xerces/impl/msg/XMLMessages.properties
URL: 
http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xerces/impl/msg/XMLMessages.properties?rev=1157452&r1=1157451&r2=1157452&view=diff
==============================================================================
--- xerces/java/trunk/src/org/apache/xerces/impl/msg/XMLMessages.properties 
(original)
+++ xerces/java/trunk/src/org/apache/xerces/impl/msg/XMLMessages.properties Sun 
Aug 14 01:19:51 2011
@@ -125,7 +125,7 @@
         EncodingDeclRequired = The encoding declaration is required in the 
text declaration.
         NoMorePseudoAttributes = No more pseudo attributes are allowed.
         MorePseudoAttributes = More pseudo attributes are expected.
-        PseudoAttrNameExpected = A pseudo attribute name is expected. 
+        PseudoAttrNameExpected = A pseudo attribute name is expected.
 # 4.3.2 Well-Formed Parsed Entities
         CommentNotInOneEntity = The comment must be entirely contained within 
the same parsed entity.
         PINotInOneEntity = The processing instruction must be entirely 
contained within the same parsed entity.
@@ -133,7 +133,7 @@
         EncodingDeclInvalid = Invalid encoding name \"{0}\".
         EncodingByteOrderUnsupported = Given byte order for encoding \"{0}\" 
is not supported.
         InvalidByte = Invalid byte {0} of {1}-byte UTF-8 sequence.
-        ExpectedByte = Expected byte {0} of {1}-byte UTF-8 sequence.  
+        ExpectedByte = Expected byte {0} of {1}-byte UTF-8 sequence.
         InvalidHighSurrogate = High surrogate bits in UTF-8 sequence must not 
exceed 0x10 but found 0x{0}.
         OperationNotSupported = Operation \"{0}\" not supported by {1} reader.
         InvalidASCII = Byte \"{0}\" is not a member of the (7-bit) ASCII 
character set.
@@ -212,7 +212,7 @@
         MSG_SPACE_REQUIRED_BEFORE_NDATA_IN_UNPARSED_ENTITYDECL = White space 
is required before \"NDATA\" in the declaration for the entity \"{0}\".
         MSG_NOTATION_NAME_REQUIRED_FOR_UNPARSED_ENTITYDECL = The notation name 
is required after \"NDATA\" in the declaration for the entity \"{0}\".
         EntityDeclUnterminated = The declaration for the entity \"{0}\" must 
end with ''>''.
-        MSG_DUPLICATE_ENTITY_DEFINITION = Entity \"{0}\" is declared more than 
once.        
+        MSG_DUPLICATE_ENTITY_DEFINITION = Entity \"{0}\" is declared more than 
once.
 # 4.2.2 External Entities
         ExternalIDRequired = The external entity declaration must begin with 
either \"SYSTEM\" or \"PUBLIC\".
         MSG_SPACE_REQUIRED_BEFORE_PUBIDLITERAL_IN_EXTERNALID = White space is 
required between \"PUBLIC\" and the public identifier.
@@ -288,7 +288,7 @@
         
 # Namespaces support
 # 4. Using Qualified Names
-        IllegalQName = Element or attribute do not match QName production: 
QName::=(NCName':')?NCName. 
+        IllegalQName = Element or attribute do not match QName production: 
QName::=(NCName':')?NCName.
         ElementXMLNSPrefix = Element \"{0}\" cannot have \"xmlns\" as its 
prefix.
         ElementPrefixUnbound = The prefix \"{0}\" for element \"{1}\" is not 
bound.
         AttributePrefixUnbound = The prefix \"{2}\" for attribute \"{1}\" 
associated with an element type \"{0}\" is not bound.

Modified: 
xerces/java/trunk/src/org/apache/xerces/impl/msg/XMLSchemaMessages.properties
URL: 
http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xerces/impl/msg/XMLSchemaMessages.properties?rev=1157452&r1=1157451&r2=1157452&view=diff
==============================================================================
--- 
xerces/java/trunk/src/org/apache/xerces/impl/msg/XMLSchemaMessages.properties 
(original)
+++ 
xerces/java/trunk/src/org/apache/xerces/impl/msg/XMLSchemaMessages.properties 
Sun Aug 14 01:19:51 2011
@@ -212,11 +212,11 @@
         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 the value must be <= the value for ''totalDigits'' which is 
''{1}''.
         length-minLength-maxLength.1.1 = length-minLength-maxLength.1.1: 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.1.2.a = length-minLength-maxLength.1.2.a: 
For type {0}, it is an error for the base to not have a minLength facet if the 
current restriction has the minLength facet and the current restriction or base 
has the length facet. 
+        length-minLength-maxLength.1.2.a = length-minLength-maxLength.1.2.a: 
For type {0}, it is an error for the base to not have a minLength facet if the 
current restriction has the minLength facet and the current restriction or base 
has the length facet.
         length-minLength-maxLength.1.2.b = length-minLength-maxLength.1.2.b: 
For type {0}, it is an error for the current minLength ''{1}'' to not equal the 
base minLength ''{2}''.
-        length-minLength-maxLength.2.1 = length-minLength-maxLength.2.1: For 
type {0}, it is an error for the value of length ''{1}'' to be greater than the 
value of maxLength ''{2}''. 
-        length-minLength-maxLength.2.2.a = length-minLength-maxLength.2.2.a: 
For type {0}, it is an error for the base to not have a maxLength facet if the 
current restriction has the maxLength facet and the current restriction or base 
has the length facet. 
-        length-minLength-maxLength.2.2.b = length-minLength-maxLength.2.2.b: 
For type {0}, it is an error for the current maxLength ''{1}'' to not equal the 
base maxLength ''{2}''.        
+        length-minLength-maxLength.2.1 = length-minLength-maxLength.2.1: For 
type {0}, it is an error for the value of length ''{1}'' to be greater than the 
value of maxLength ''{2}''.
+        length-minLength-maxLength.2.2.a = length-minLength-maxLength.2.2.a: 
For type {0}, it is an error for the base to not have a maxLength facet if the 
current restriction has the maxLength facet and the current restriction or base 
has the length facet.
+        length-minLength-maxLength.2.2.b = length-minLength-maxLength.2.2.b: 
For type {0}, it is an error for the current maxLength ''{1}'' to not equal the 
base 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}''.

Modified: 
xerces/java/trunk/src/org/apache/xerces/impl/msg/XMLSerializerMessages.properties
URL: 
http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xerces/impl/msg/XMLSerializerMessages.properties?rev=1157452&r1=1157451&r2=1157452&view=diff
==============================================================================
--- 
xerces/java/trunk/src/org/apache/xerces/impl/msg/XMLSerializerMessages.properties
 (original)
+++ 
xerces/java/trunk/src/org/apache/xerces/impl/msg/XMLSerializerMessages.properties
 Sun Aug 14 01:19:51 2011
@@ -16,7 +16,7 @@
 #
 
 # This file stores error messages for the Xerces XML
-# serializer.  Many DOM Load/Save error messages also 
+# serializer.  Many DOM Load/Save error messages also
 # live here, since the serializer largely implements that package.
 #
 # As usual with properties files, the messages are arranged in

Modified: 
xerces/java/trunk/src/org/apache/xerces/impl/msg/XPointerMessages.properties
URL: 
http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xerces/impl/msg/XPointerMessages.properties?rev=1157452&r1=1157451&r2=1157452&view=diff
==============================================================================
--- 
xerces/java/trunk/src/org/apache/xerces/impl/msg/XPointerMessages.properties 
(original)
+++ 
xerces/java/trunk/src/org/apache/xerces/impl/msg/XPointerMessages.properties 
Sun Aug 14 01:19:51 2011
@@ -29,8 +29,8 @@ FormatFailed = An internal error occurre
 XPointerProcessingError = XPointerProcessingError: An error occurred while 
processing the XPointer expression.
 InvalidXPointerToken = InvalidXPointerToken: The XPointer expression contains 
the invalid token ''{0}''
 InvalidXPointerExpression = InvalidXPointerExpression: The XPointer expression 
''{0}'' is invalid.
-MultipleShortHandPointers = MultipleShortHandPointers:  The XPointer 
expression ''{0}'' is invalid.  It has more than one ShortHand Pointer. 
-SchemeDataNotFollowedByCloseParenthesis = 
SchemeDataNotFollowedByCloseParenthesis: The XPointer expression ''{0}'' is 
invalid.  The SchemeData was not followed by a '')'' character. 
+MultipleShortHandPointers = MultipleShortHandPointers:  The XPointer 
expression ''{0}'' is invalid.  It has more than one ShortHand Pointer.
+SchemeDataNotFollowedByCloseParenthesis = 
SchemeDataNotFollowedByCloseParenthesis: The XPointer expression ''{0}'' is 
invalid.  The SchemeData was not followed by a '')'' character.
 SchemeUnsupported = SchemeUnsupported: The XPointer scheme ''{0}'' is not 
supported.
 InvalidShortHandPointer = InvalidShortHandPointer: The NCName of the ShortHand 
Pointer ''{0}'' is invalid.
 UnbalancedParenthesisInXPointerExpression = 
UnbalancedParenthesisInXPointerExpression: The XPointer expression ''{0}'' is 
invalid.  The number of open parenthesis ''{1}'' is not equal to the number of 
close parenthesis ''{2}''.
@@ -41,4 +41,4 @@ InvalidElementSchemeToken = InvalidEleme
 InvalidElementSchemeXPointer = InvalidElementSchemeXPointer: The Element 
Scheme XPointer expression ''{0}'' is invalid.
 XPointerElementSchemeProcessingError = XPointerElementSchemeProcessingError: 
An error occurred while processing the XPointer element() Scheme expression.
 InvalidNCNameInElementSchemeData = InvalidNCNameInElementSchemeData: The 
element() Scheme contains a ShortHand Pointer ''{0}'' with an invalid NCName.
-InvalidChildSequenceCharacter = InvalidChildSequenceCharacter: The element() 
Scheme contains an invalid child sequence character ''{0}''. 
\ No newline at end of file
+InvalidChildSequenceCharacter = InvalidChildSequenceCharacter: The element() 
Scheme contains an invalid child sequence character ''{0}''.
\ No newline at end of file



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@xerces.apache.org
For additional commands, e-mail: commits-h...@xerces.apache.org

Reply via email to