[jira] Geschlossen: (XMLRPC-45) International Characters cannot be used as Method Parameters

2006-05-09 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/XMLRPC-45?page=all ] Jochen Wiedmann closed XMLRPC-45: - Resolution: Fixed Assign To: (was: rpc-dev mailing list) AFAIK, this has been fixed in version 2 and 3. International Characters cannot be

[jira] Geschlossen: (XMLRPC-50) UTF-8 strings not being properly serialized by XMLWriter

2006-05-09 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/XMLRPC-50?page=all ] Jochen Wiedmann closed XMLRPC-50: - Resolution: Fixed Assign To: (was: rpc-dev mailing list) AFAIK, this has been fixed in version 2 and 3. UTF-8 strings not being properly

[jira] Geschlossen: (XMLRPC-53) XML Parser (MinML) does not support unicode characters.

2006-05-09 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/XMLRPC-53?page=all ] Jochen Wiedmann closed XMLRPC-53: - Resolution: Fixed Assign To: (was: rpc-dev mailing list) It is unknown, whether this problem does apply to version 2. If so, it seems difficult

[jira] Kommentiert: (XMLRPC-74) No information in the manifest

2006-05-08 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/XMLRPC-74?page=comments#action_12378516 ] Jochen Wiedmann commented on XMLRPC-74: --- This bug depends on http://jira.codehaus.org/browse/MJAR-38. I am attempting to get a solution into Maven. Btw, Pascal: Could

[jira] Geschlossen: (XMLRPC-79) Problems when enabling gzip compression

2006-05-07 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/XMLRPC-79?page=all ] Jochen Wiedmann closed XMLRPC-79: - Resolution: Fixed Finally found out the deeper reason: The HTTP/1.0 specification requires a content-length header. As shown in Bugzilla 39508, there

[jira] Geschlossen: (XMLRPC-5) We have the problem which is not terminated normally the operation of WebServer service.

2006-05-07 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/XMLRPC-5?page=all ] Jochen Wiedmann closed XMLRPC-5: Resolution: Won't Fix Assign To: (was: rpc-dev mailing list) It is quite likely, that this problem no longer applies with versions 2 and 3.

[jira] Geschlossen: (XMLRPC-8) BasicAuthentication bug in XmlRpcClientLite

2006-05-07 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/XMLRPC-8?page=all ] Jochen Wiedmann closed XMLRPC-8: Resolution: Fixed Assign To: (was: rpc-dev mailing list) It is quite likely, that this problem no longer applies with versions 2 and 3.

[jira] Geschlossen: (XMLRPC-13) Unexpected XML parser behavior

2006-05-07 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/XMLRPC-13?page=all ] Jochen Wiedmann closed XMLRPC-13: - Resolution: Fixed Assign To: (was: rpc-dev mailing list) It is quite likely, that this problem no longer applies with versions 2 and 3.

[jira] Geschlossen: (XMLRPC-17) Missing an example using org.apache.xmlrpc.applet.SimpleXmlRpcClient

2006-05-07 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/XMLRPC-17?page=all ] Jochen Wiedmann closed XMLRPC-17: - Resolution: Won't Fix Assign To: (was: rpc-dev mailing list) It is unlikely, that there is still interest in such an example, as applets are

[jira] Geschlossen: (XMLRPC-19) Add SSL session resumption to XmlRpcClientLite

2006-05-07 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/XMLRPC-19?page=all ] Jochen Wiedmann closed XMLRPC-19: - Resolution: Won't Fix Assign To: (was: rpc-dev mailing list) The issue has seen no activity in more than three years. Consequently, I am now

[jira] Geschlossen: (XMLRPC-21) de/serialization independence

2006-05-07 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/XMLRPC-21?page=all ] Jochen Wiedmann closed XMLRPC-21: - Resolution: Fixed Assign To: (was: rpc-dev mailing list) The XML handling has been completely reworked in version 3. de/serialization

[jira] Geschlossen: (XMLRPC-26) Bring SimpleXmlRpcClient up to date with the rest of the codebase

2006-05-07 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/XMLRPC-26?page=all ] Jochen Wiedmann closed XMLRPC-26: - Resolution: Won't Fix Assign To: (was: rpc-dev mailing list) The issue has seen no activity in more than three years. Consequently, I am now

[jira] Geschlossen: (XMLRPC-29) Connection Reset Error

2006-05-07 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/XMLRPC-29?page=all ] Jochen Wiedmann closed XMLRPC-29: - Resolution: Won't Fix Assign To: (was: rpc-dev mailing list) It is unlikely, that this problem does still apply. Please reopen, if required.

[jira] Geschlossen: (XMLRPC-31) build.properties not present in xmlrpc-1.2-b1-src

2006-05-07 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/XMLRPC-31?page=all ] Jochen Wiedmann closed XMLRPC-31: - Resolution: Fixed Assign To: (was: rpc-dev mailing list) This version of the software is definitely out of date and unsupported.

[jira] Geschlossen: (XMLRPC-34) unused imports

2006-05-07 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/XMLRPC-34?page=all ] Jochen Wiedmann closed XMLRPC-34: - Resolution: Fixed Assign To: (was: rpc-dev mailing list) Doesn't apply to version 3. Please reopen, if required. unused imports

[jira] Geschlossen: (XMLRPC-33) Test checked with JUnit-addons

2006-05-07 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/XMLRPC-33?page=all ] Jochen Wiedmann closed XMLRPC-33: - Resolution: Won't Fix Assign To: (was: rpc-dev mailing list) Doesn't seem to apply to version 3. Please reopen, if required. Test checked

[jira] Geschlossen: (XMLRPC-35) standalone xml-rpc server doesn't start

2006-05-07 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/XMLRPC-35?page=all ] Jochen Wiedmann closed XMLRPC-35: - Resolution: Won't Fix Assign To: (was: rpc-dev mailing list) This software version is no longer supported. standalone xml-rpc server doesn't

[jira] Geschlossen: (XMLRPC-36) Patch for bug with array or struct in SimpleXmlRpcClient

2006-05-07 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/XMLRPC-36?page=all ] Jochen Wiedmann closed XMLRPC-36: - Resolution: Won't Fix Assign To: (was: rpc-dev mailing list) Doesn't seem to apply to version 3. Please reopen, if required. Patch for bug

[jira] Geschlossen: (XMLRPC-38) XMLRPC applet fails to xmit Base64 coded data.

2006-05-07 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/XMLRPC-38?page=all ] Jochen Wiedmann closed XMLRPC-38: - Resolution: Won't Fix Assign To: (was: rpc-dev mailing list) The applet specific code is no longer supported with version 3. XMLRPC applet

[jira] Kommentiert: (XMLRPC-79) Problems when enabling gzip compression

2006-04-11 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/XMLRPC-79?page=comments#action_12374031 ] Jochen Wiedmann commented on XMLRPC-79: --- I don't know how you come to believe that the XmlRpcServlet may be configured through init parameters in web.xml? The suggested

[jira] Kommentiert: (XMLRPC-79) Problems when enabling gzip compression

2006-04-11 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/XMLRPC-79?page=comments#action_12374106 ] Jochen Wiedmann commented on XMLRPC-79: --- Compare your own statement: Right. I have derived a subclass to XmlRpcServlet and have overwritten init(ServletConfig

[jira] Geschlossen: (XMLRPC-78) Configurable or UTC time zone for outgoing date values.

2006-04-11 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/XMLRPC-78?page=all ] Jochen Wiedmann closed XMLRPC-78: - Resolution: Fixed No reply. Closing. Please reopen, if required. Configurable or UTC time zone for outgoing date values.

[jira] Kommentiert: (XMLRPC-78) Configurable or UTC time zone for outgoing date values.

2006-03-19 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/XMLRPC-78?page=comments#action_12370977 ] Jochen Wiedmann commented on XMLRPC-78: --- The xmlrpcclient in version 2 does contain a method setTimeZone(). I see no reason, why this should not be added to the server

[jira] Kommentiert: (XMLRPC-75) Introspection Patch for XML-RPC, current to SVN 2005-12-29 (r359943)

2006-02-27 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/XMLRPC-75?page=comments#action_12368078 ] Jochen Wiedmann commented on XMLRPC-75: --- Walter, I apologize, but I am unhappy with the overloading. While I accept, that it might be suitable in certain situations, I

[jira] Zugewiesen: (XMLRPC-75) Introspection Patch for XML-RPC, current to SVN 2005-12-29 (r359943)

2006-02-24 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/XMLRPC-75?page=all ] Jochen Wiedmann reassigned XMLRPC-75: - Assign To: Jochen Wiedmann Introspection Patch for XML-RPC, current to SVN 2005-12-29 (r359943)

[jira] Kommentiert: (XMLRPC-75) Introspection Patch for XML-RPC, current to SVN 2005-12-29 (r359943)

2006-02-24 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/XMLRPC-75?page=comments#action_12367658 ] Jochen Wiedmann commented on XMLRPC-75: --- Walter, I have added the interfaces XmlRpcListableHandlerMapping, and XmlRpcMetaDataHandler. Please note: - I have added some

[jira] Kommentiert: (XMLRPC-75) Introspection Patch for XML-RPC, current to SVN 2005-12-29 (r359943)

2006-02-22 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/XMLRPC-75?page=comments#action_12367476 ] Jochen Wiedmann commented on XMLRPC-75: --- Walter, are you interested in getting this into the 3.0 branch? If so, let's do it in a few steps. - First of all, you should

[jira] Erstellt: (JAXME-80) Mixed content with empty elemen tcauses NPE

2006-01-09 Thread Jochen Wiedmann (JIRA)
Mixed content with empty elemen tcauses NPE --- Key: JAXME-80 URL: http://issues.apache.org/jira/browse/JAXME-80 Project: JaxMe Type: Bug Versions: 0.5 Reporter: Jochen Wiedmann Priority: Minor The following

[jira] Kommentiert: (XMLRPC-75) Introspection Patch for XML-RPC, current to SVN 2005-12-29 (r359943)

2005-12-30 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/XMLRPC-75?page=comments#action_12361444 ] Jochen Wiedmann commented on XMLRPC-75: --- From your comment, I conclude that a) there are implementations in other languages, which do similar things and that b) it is

[jira] Geschlossen: (JAXME-75) List returning more that the types required.

2005-12-07 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/JAXME-75?page=all ] Jochen Wiedmann closed JAXME-75: Resolution: Invalid The error is in your application: List children = sh.getLibraryReference();

[jira] Geschlossen: (XMLRPC-72) Website still contains stuff about CVS and Bugzille

2005-11-30 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/XMLRPC-72?page=all ] Jochen Wiedmann closed XMLRPC-72: - Resolution: Fixed Fixed by Siegfried. Website still contains stuff about CVS and Bugzille ---

[jira] Geschlossen: (XMLRPC-52) Use New Apache License

2005-11-30 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/XMLRPC-52?page=all ] Jochen Wiedmann closed XMLRPC-52: - Resolution: Fixed Assign To: (was: rpc-dev mailing list) As far as I know, all files have been updated to ASL 2. Use New Apache License

[jira] Geschlossen: (XMLRPC-46) Use List interface instead of Vector

2005-11-30 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/XMLRPC-46?page=all ] Jochen Wiedmann closed XMLRPC-46: - Resolution: Fixed Assign To: (was: rpc-dev mailing list) See http://people.apache.org/~jochen/xmlrpc/site/ Use List interface instead of

[jira] Geschlossen: (XMLRPC-15) Replace underlying HTTP client functionality with Jakarta Commons HttpClient

2005-11-30 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/XMLRPC-15?page=all ] Jochen Wiedmann closed XMLRPC-15: - Resolution: Fixed Assign To: (was: rpc-dev mailing list) See CommonsXmlRpcTransportFactory. Replace underlying HTTP client functionality with

[jira] Geschlossen: (XMLRPC-41) Use a larger size for the BufferedOutputStream

2005-11-30 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/XMLRPC-41?page=all ] Jochen Wiedmann closed XMLRPC-41: - Resolution: Fixed Assign To: (was: rpc-dev mailing list) AFAIK, the default buffer size of BufferedOutputStream is 8192 bytes. Use a larger

[jira] Geschlossen: (XMLRPC-3) Introspection and interceptors for XML-RPC

2005-11-30 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/XMLRPC-3?page=all ] Jochen Wiedmann closed XMLRPC-3: Resolution: Fixed Assign To: (was: rpc-dev mailing list) The given link is not available. Introspection and interceptors for XML-RPC

[jira] Kommentiert: (JAXME-72) Generated structures that has xsd:QName types does not marshal correcly.

2005-11-29 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/JAXME-72?page=comments#action_12358777 ] Jochen Wiedmann commented on JAXME-72: -- The repository was converted to subversion since the last release. Try http://svn.apache.org/repos/asf/webservices/jaxme

[jira] Zugewiesen: (JAXME-74) JAXP Transform seems fails

2005-11-25 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/JAXME-74?page=all ] Jochen Wiedmann reassigned JAXME-74: Assign To: Jochen Wiedmann JAXP Transform seems fails -- Key: JAXME-74 URL:

[jira] Kommentiert: (XMLRPC-71) Trying to serialise an unserialisable class breaks XML format spec

2005-10-16 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/XMLRPC-71?page=comments#action_12332175 ] Jochen Wiedmann commented on XMLRPC-71: --- I admit, that I can see a point in your suggestion to have the response parseable. On the other hand, I see a good chance, that

[jira] Geschlossen: (XMLRPC-69) XmlWriter.isValidXMLChar(char) incorrectly determines ASCII space (0x20) character to be invalid XML

2005-08-30 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/XMLRPC-69?page=all ] Jochen Wiedmann closed XMLRPC-69: - Fix Version: 2.1 Resolution: Fixed Assign To: Jochen Wiedmann Patch applied to 2.0 branch and HEAD. XmlWriter.isValidXMLChar(char)

[jira] Geschlossen: (XMLRPC-68) WebServer.java doesn't use basic authentication because of NPE

2005-08-24 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/XMLRPC-68?page=all ] Jochen Wiedmann closed XMLRPC-68: - Fix Version: 2.1 Resolution: Fixed Assign To: Jochen Wiedmann Patch applied to the 2.0 branch and to the trunk. WebServer.java doesn't use

[jira] Geschlossen: (JAXME-67) Building from Source: Missing Files

2005-08-14 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/JAXME-67?page=all ] Jochen Wiedmann closed JAXME-67: Fix Version: 0.6 Resolution: Fixed Assign To: Jochen Wiedmann Fixed in trunk and 0.5 branch. Thanks, in particular for resolving the problems

[jira] Geschlossen: (JAXME-58) IDREF handling does not follow JAXB spec (5.8.2)/reference implementation

2005-08-13 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/JAXME-58?page=all ] Jochen Wiedmann closed JAXME-58: Fix Version: 0.6 Resolution: Fixed Assign To: Jochen Wiedmann After initial work on merging the JAXME-28 branch, I changed my mind and decided

[jira] Aktualisiert: (JAXME-65) mixed=true attribute on complexTypes unsupported?

2005-08-12 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/JAXME-65?page=all ] Jochen Wiedmann updated JAXME-65: - Attachment: JAXME-65.patch The ChoiceHandlerSG did not treat a choice with minOccurs=0 as optional. mixed=true attribute on complexTypes unsupported?

[jira] Geschlossen: (JAXME-65) mixed=true attribute on complexTypes unsupported?

2005-08-12 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/JAXME-65?page=all ] Jochen Wiedmann closed JAXME-65: Fix Version: 0.6 Resolution: Fixed Assign To: Jochen Wiedmann Patch applied to trunk and 0.5 branch. mixed=true attribute on complexTypes

[jira] Kommentiert: (JAXME-64) [PATCH] Maven plugin for JaxMe2

2005-08-10 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/JAXME-64?page=comments#action_12318387 ] Jochen Wiedmann commented on JAXME-64: -- Marcus, your contribution is extremely welcome. In fact, Nacho is currently working on the mavenization of JaxMe itself. As Nacho

[jira] Aktualisiert: (JAXME-58) IDREF handling does not follow JAXB spec (5.8.2)/reference implementation

2005-08-05 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/JAXME-58?page=all ] Jochen Wiedmann updated JAXME-58: - Attachment: idMap3.patch To keep the discussion open, a modified version of your patch. The IDREF properties should now be objects indeed. I am currently

[jira] Aktualisiert: (JAXME-63) JaxMe (wrongly) accepts schema using group ref=... maxOccurs=unbounded/

2005-08-04 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/JAXME-63?page=all ] Jochen Wiedmann updated JAXME-63: - Attachment: JAXME63.patch Patch for the problem. JaxMe (wrongly) accepts schema using group ref=... maxOccurs=unbounded/

[jira] Geschlossen: (JAXME-63) JaxMe (wrongly) accepts schema using group ref=... maxOccurs=unbounded/

2005-08-04 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/JAXME-63?page=all ] Jochen Wiedmann closed JAXME-63: Fix Version: 0.5 Resolution: Fixed Assign To: Jochen Wiedmann Interesting ... you've found some of the (surprisingly few) problems in the XS

[jira] Kommentiert: (JAXME-62) IllegalArgumentException on validation, length limit exceeded

2005-07-28 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/JAXME-62?page=comments#action_12317128 ] Jochen Wiedmann commented on JAXME-62: -- Hmmm, the reason for the IllegalArgumentException is, that the check for maxLength occurs within setFoo() and not within the SAX

[jira] Geschlossen: (JAXME-59) CDMv2.01 schema cannot be compiled

2005-07-16 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/JAXME-59?page=all ] Jochen Wiedmann closed JAXME-59: CDMv2.01 schema cannot be compiled -- Key: JAXME-59 URL: http://issues.apache.org/jira/browse/JAXME-59

[jira] Kommentiert: (JAXME-58) IDREF handling does not follow JAXB spec (5.8.2)/reference implementation

2005-07-15 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/JAXME-58?page=comments#action_12315891 ] Jochen Wiedmann commented on JAXME-58: -- A question which came up while discussing the feature: To resolve IDREF's, the parser will obviously create an internal Map of ID =

[jira] Kommentiert: (JAXME-58) IDREF handling does not follow JAXB spec (5.8.2)/reference implementation

2005-07-15 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/JAXME-58?page=comments#action_12315892 ] Jochen Wiedmann commented on JAXME-58: -- Proposed way to resolve the issue; Forgetting for a moment, that the actual bean classes need changes, I'll suggest that we start

[jira] Kommentiert: (XMLRPC-63) XML-RPC server ignores the encoding specified in th encoding

2005-06-21 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/XMLRPC-63?page=comments#action_12314200 ] Jochen Wiedmann commented on XMLRPC-63: --- I have a hard time to believe this. In particular, I'd like to see some reproducable sample code first. Besides, assuming that

[jira] Geschlossen: (XMLRPC-61) XmlRpcException thrown by handler are return to client as object

2005-06-15 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/XMLRPC-61?page=all ] Jochen Wiedmann closed XMLRPC-61: - Fix Version: 2.0 Resolution: Fixed Patch applied to 2.0 branch and HEAD. XmlRpcException thrown by handler are return to client as object

[jira] Aktualisiert: (XMLRPC-61) XmlRpcException thrown by handler are return to client as object

2005-06-02 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/XMLRPC-61?page=all ] Jochen Wiedmann updated XMLRPC-61: -- Attachment: xmlrpc61.patch First of all, thanks very much for the excellent bug report. I rarely find that people take the time to work things out so well.

[jira] Geschlossen: (XMLRPC-60) MinML is Evil

2005-05-31 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/XMLRPC-60?page=all ] Jochen Wiedmann closed XMLRPC-60: - Resolution: Won't Fix First of all, let me say, that I am not so keen with MinML either and share your opinion, that a modern XML parser and preferrably

[jira] Kommentiert: (JAXME-54) ISO-8859-1 encoding not working correctly.

2005-05-20 Thread Jochen Wiedmann (JIRA)
[ http://issues.apache.org/jira/browse/JAXME-54?page=comments#action_65854 ] Jochen Wiedmann commented on JAXME-54: -- Charset is a Java 1.4 class. We cannot use that. ISO-8859-1 encoding not working correctly.

<    1   2