axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 21432] New: - single quotes in resources.properties
Date Wed, 09 Jul 2003 09:10:30 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21432>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21432

single quotes in resources.properties

           Summary: single quotes in resources.properties
           Product: Axis
           Version: 1.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Basic Architecture
        AssignedTo: axis-dev@ws.apache.org
        ReportedBy: patrick@zync.at


there are some single quotes in the resources.properties file containing the
axis error messages. this causes some messages to be formatted incorrectly,
e.g., sending a message to an endpoint that does not accept this message returns
the error:

"Couldnt find an appropriate operation for XML QName {0}"

where the actual qname is not returned as the {0} parameter.

the corresponding resource from resources.properties reads:

"noOperationForQName=Couldn't find an appropriate operation for XML QName {0}"

please note the single quote in "Couldn't".

according to the jdk1.4.2 documentation for java.text.MessageFormat:

---
 Within a String, "''" represents a single quote. A QuotedString can contain
arbitrary characters except single quotes; the surrounding single quotes are
removed. An UnquotedString can contain arbitrary characters except single quotes
and left curly brackets. Thus, a string that should result in the formatted
message "'{0}'" can be written as "'''{'0}''" or "'''{0}'''".
---

there are numerous occurrences of single quotes in resources.properties,
especially when used in words like can't, don't, etc.

Mime
View raw message