[
https://issues.apache.org/jira/browse/XERCESJ-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13084303#comment-13084303
]
Jesse Glick commented on XERCESJ-1522:
--------------------------------------
Note that there are other such cases in nearby message files:
$ egrep '[^# ] +$' src/org/apache/xerces/impl/msg/*.properties | fgrep -v '\n'
| sed 's/ /␣/g'
src/org/apache/xerces/impl/msg/SAXMessages.properties:jaxp-order-not-supported␣=␣Property␣''{0}''␣must␣be␣set␣before␣setting␣property␣''{1}''.␣
src/org/apache/xerces/impl/msg/XMLMessages.properties:␣␣␣␣␣␣␣␣PseudoAttrNameExpected␣=␣A␣pseudo␣attribute␣name␣is␣expected.␣
src/org/apache/xerces/impl/msg/XMLMessages.properties:␣␣␣␣␣␣␣␣ExpectedByte␣=␣Expected␣byte␣{0}␣of␣{1}-byte␣UTF-8␣sequence.␣␣
src/org/apache/xerces/impl/msg/XMLMessages.properties:␣␣␣␣␣␣␣␣MSG_DUPLICATE_ENTITY_DEFINITION␣=␣Entity␣\"{0}\"␣is␣declared␣more␣than␣once.␣␣␣␣␣␣␣␣
src/org/apache/xerces/impl/msg/XMLMessages.properties:␣␣␣␣␣␣␣␣IllegalQName␣=␣Element␣or␣attribute␣do␣not␣match␣QName␣production:␣QName::=(NCName':')?NCName.␣
src/org/apache/xerces/impl/msg/XMLSchemaMessages.properties:␣␣␣␣␣␣␣␣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.␣
src/org/apache/xerces/impl/msg/XMLSchemaMessages.properties:␣␣␣␣␣␣␣␣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}''.␣
src/org/apache/xerces/impl/msg/XMLSchemaMessages.properties:␣␣␣␣␣␣␣␣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.␣
src/org/apache/xerces/impl/msg/XMLSchemaMessages.properties:␣␣␣␣␣␣␣␣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}''.␣␣␣␣␣␣␣␣
src/org/apache/xerces/impl/msg/XMLSerializerMessages.properties:#␣serializer.␣␣Many␣DOM␣Load/Save␣error␣messages␣also␣
src/org/apache/xerces/impl/msg/XPointerMessages.properties:MultipleShortHandPointers␣=␣MultipleShortHandPointers:␣␣The␣XPointer␣expression␣''{0}''␣is␣invalid.␣␣It␣has␣more␣than␣one␣ShortHand␣Pointer.␣
src/org/apache/xerces/impl/msg/XPointerMessages.properties:SchemeDataNotFollowedByCloseParenthesis␣=␣SchemeDataNotFollowedByCloseParenthesis:␣The␣XPointer␣expression␣''{0}''␣is␣invalid.␣␣The␣SchemeData␣was␣not␣followed␣by␣a␣'')''␣character.␣
src/org/apache/xerces/impl/msg/XPointerMessages.properties:InvalidChildSequenceCharacter␣=␣InvalidChildSequenceCharacter:␣The␣element()␣Scheme␣contains␣an␣invalid␣child␣sequence␣character␣''{0}''.␣
> Trailing spaces in DOMMessages.properties
> -----------------------------------------
>
> Key: XERCESJ-1522
> URL: https://issues.apache.org/jira/browse/XERCESJ-1522
> Project: Xerces2-J
> Issue Type: Improvement
> Components: DOM (Level 3 Core)
> Affects Versions: 2.11.0
> Reporter: Jesse Glick
> Assignee: Michael Glavassevich
> Priority: Trivial
> Original Estimate: 5m
> Remaining Estimate: 5m
>
> https://svn.apache.org/repos/asf/xerces/java/trunk/src/org/apache/xerces/impl/msg/DOMMessages.properties
> @1157184 contains a number of lines with trailing spaces (noticed on
> {{INVALID_CHARACTER_ERR}}). This results in an odd appearance when
> {{DOMException}} messages are displayed in some contexts.
> (BTW
> https://bitbucket.org/jglick/misc-elisp/raw/d84e13fa8778/extensions/java-properties-mode.el
> highlights this in Emacs.)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]