Message: The following issue has been closed.
--------------------------------------------------------------------- View the issue: http://issues.apache.org/jira/browse/XERCESC-988 Here is an overview of the issue: --------------------------------------------------------------------- Key: XERCESC-988 Summary: MacOSEncoder::transcodeFrom throws an exception where it should not. Type: Bug Status: Closed Resolution: FIXED Project: Xerces-C++ Components: Utilities Versions: 2.1.0 Assignee: Reporter: benoit.blaquiere Created: Mon, 25 Aug 2003 3:33 PM Updated: Mon, 20 Sep 2004 1:12 PM Environment: Operating System: MacOS X Platform: Macintosh Description: When parsing some files with the SAX2 parser, the Carbon API ConvertFromTextToUnicode, used in MacOSEncoder::transcodeFrom, returns the error kTECOutputBufferFullStatus : The converter successfully converted part of the input text, but the output buffer was not large enough to accommodate the entire input text after conversion. Convert the remaining text beginning from the position where the conversion stopped. This situation is very well managed since the number of really translated characters is returned, therefore this error code should be regarded as noErr and not thrown as an exception. Follows a file to reproduce this error : <?xml version="1.0" encoding="x-mac-roman"?> <!-- version 1.10 RH --> <tableEPSG> <entryEPSG> <name_IE>LAMBERT1</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>27581</horizontal_code> <horizontal_name>NTF (Paris) / France I</horizontal_name> <geographic_name>NTF (Paris)(France - onshore)</geographic_name> <geographic_code>4275</geographic_code> </entryEPSG> <entryEPSG> <name_IE>LAMBERT2</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>27582</horizontal_code> <horizontal_name>NTF (Paris) / France II</horizontal_name> <geographic_name>NTF (Paris)(France - onshore)</geographic_name> <geographic_code>4275</geographic_code> </entryEPSG> <entryEPSG> <name_IE>LAMBERT3</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>27583</horizontal_code> <horizontal_name>NTF (Paris) / France III</horizontal_name> <geographic_name>NTF (Paris)(France - onshore)</geographic_name> <geographic_code>4275</geographic_code> </entryEPSG> <entryEPSG> <name_IE>LAMBERT4</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>27584</horizontal_code> <horizontal_name>NTF (Paris) / France IV</horizontal_name> <geographic_name>NTF (Paris)(France - onshore)</geographic_name> <geographic_code>4275</geographic_code> </entryEPSG> <entryEPSG> <name_IE>LAMBERT93</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>2154</horizontal_code> <horizontal_name>RGF93 / Lambert-93</horizontal_name> <geographic_name>RGF93 (France)</geographic_name> <geographic_code>4171</geographic_code> </entryEPSG> <entryEPSG> <name_IE>EUROUTM28</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>23028</horizontal_code> <horizontal_name>ED50 / UTM zone 28N</horizontal_name> <geographic_name>ED50</geographic_name> <geographic_code>4230</geographic_code> </entryEPSG> <entryEPSG> <name_IE>EUROUTM29</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>23029</horizontal_code> <horizontal_name>ED50 / UTM zone 29N</horizontal_name> <geographic_name>ED50</geographic_name> <geographic_code>4230</geographic_code> </entryEPSG> <entryEPSG> <name_IE>EUROUTM30</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>23030</horizontal_code> <horizontal_name>ED50 / UTM zone 30N</horizontal_name> <geographic_name>ED50</geographic_name> <geographic_code>4230</geographic_code> </entryEPSG> <entryEPSG> <name_IE>EUROUTM31</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>23031</horizontal_code> <horizontal_name>ED50 / UTM zone 31N</horizontal_name> <geographic_name>ED50</geographic_name> <geographic_code>4230</geographic_code> </entryEPSG> <entryEPSG> <name_IE>EUROUTM32</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>23032</horizontal_code> <horizontal_name>ED50 / UTM zone 32N</horizontal_name> <geographic_name>ED50</geographic_name> <geographic_code>4230</geographic_code> </entryEPSG> <entryEPSG> <name_IE>EUROUTM33</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>23033</horizontal_code> <horizontal_name>ED50 / UTM zone 33N</horizontal_name> <geographic_name>ED50</geographic_name> <geographic_code>4230</geographic_code> </entryEPSG> <entryEPSG> <name_IE>EUROUTM34</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>23034</horizontal_code> <horizontal_name>ED50 / UTM zone 34N</horizontal_name> <geographic_name>ED50</geographic_name> <geographic_code>4230</geographic_code> </entryEPSG> <entryEPSG> <name_IE>EUROUTM35</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>23035</horizontal_code> <horizontal_name>ED50 / UTM zone 35N</horizontal_name> <geographic_name>ED50</geographic_name> <geographic_code>4230</geographic_code> </entryEPSG> <entryEPSG> <name_IE>EUROUTM36</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>23036</horizontal_code> <horizontal_name>ED50 / UTM zone 36N</horizontal_name> <geographic_name>ED50</geographic_name> <geographic_code>4230</geographic_code> </entryEPSG> <entryEPSG> <name_IE>EUROUTM37</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>23037</horizontal_code> <horizontal_name>ED50 / UTM zone 37N</horizontal_name> <geographic_name>ED50</geographic_name> <geographic_code>4230</geographic_code> </entryEPSG> <entryEPSG> <name_IE>EUROUTM38</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>23038</horizontal_code> <horizontal_name>ED50 / UTM zone 38N</horizontal_name> <geographic_name>ED50</geographic_name> <geographic_code>4230</geographic_code> </entryEPSG> <entryEPSG> <name_IE>WGSUTM1</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>32201</horizontal_code> <horizontal_name>WGS 72 / UTM zone 1N</horizontal_name> <geographic_name>WGS 72</geographic_name> <geographic_code>4322</geographic_code> </entryEPSG> <entryEPSG> <name_IE>WGSUTM2</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>32202</horizontal_code> <horizontal_name>WGS 72 / UTM zone 2N</horizontal_name> <geographic_name>WGS 72</geographic_name> <geographic_code>4322</geographic_code> </entryEPSG> <entryEPSG> <name_IE>WGSUTM3</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>32203</horizontal_code> <horizontal_name>WGS 72 / UTM zone 3N</horizontal_name> <geographic_name>WGS 72</geographic_name> <geographic_code>4322</geographic_code> </entryEPSG> <entryEPSG> <name_IE>WGSUTM4</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>32204</horizontal_code> <horizontal_name>WGS 72 / UTM zone 4N</horizontal_name> <geographic_name>WGS 72</geographic_name> <geographic_code>4322</geographic_code> </entryEPSG> <entryEPSG> <name_IE>WGSUTM5</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>32205</horizontal_code> <horizontal_name>WGS 72 / UTM zone 5N</horizontal_name> <geographic_name>WGS 72</geographic_name> <geographic_code>4322</geographic_code> </entryEPSG> <entryEPSG> <name_IE>WGSUTM6</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>32206</horizontal_code> <horizontal_name>WGS 72 / UTM zone 6N</horizontal_name> <geographic_name>WGS 72</geographic_name> <geographic_code>4322</geographic_code> </entryEPSG> <entryEPSG> <name_IE>WGSUTM7</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>32207</horizontal_code> <horizontal_name>WGS 72 / UTM zone 7N</horizontal_name> <geographic_name>WGS 72</geographic_name> <geographic_code>4322</geographic_code> </entryEPSG> <entryEPSG> <name_IE>WGSUTM8</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>32208</horizontal_code> <horizontal_name>WGS 72 / UTM zone 8N</horizontal_name> <geographic_name>WGS 72</geographic_name> <geographic_code>4322</geographic_code> </entryEPSG> <entryEPSG> <name_IE>WGSUTM9</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>32209</horizontal_code> <horizontal_name>WGS 72 / UTM zone 9N</horizontal_name> <geographic_name>WGS 72</geographic_name> <geographic_code>4322</geographic_code> </entryEPSG> <entryEPSG> <name_IE>WGSUTM10</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>32210</horizontal_code> <horizontal_name>WGS 72 / UTM zone 10N</horizontal_name> <geographic_name>WGS 72</geographic_name> <geographic_code>4322</geographic_code> </entryEPSG> <entryEPSG> <name_IE>WGIUTM16</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>32616</horizontal_code> <horizontal_name>WGS 84 / UTM zone 28N</horizontal_name> <geographic_name>WGS 84</geographic_name> <geographic_code>4326</geographic_code> </entryEPSG> <entryEPSG> <name_IE>WGIUTM17</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>32617</horizontal_code> <horizontal_name>WGS 84 / UTM zone 28N</horizontal_name> <geographic_name>WGS 84</geographic_name> <geographic_code>4326</geographic_code> </entryEPSG> <entryEPSG> <name_IE>WGIUTM18</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>32618</horizontal_code> <horizontal_name>WGS 84 / UTM zone 28N</horizontal_name> <geographic_name>WGS 84</geographic_name> <geographic_code>4326</geographic_code> </entryEPSG> <entryEPSG> <name_IE>WGIUTM19</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>32619</horizontal_code> <horizontal_name>WGS 84 / UTM zone 28N</horizontal_name> <geographic_name>WGS 84</geographic_name> <geographic_code>4326</geographic_code> </entryEPSG> <entryEPSG> <name_IE>WGIUTM20</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>32620</horizontal_code> <horizontal_name>WGS 84 / UTM zone 28N</horizontal_name> <geographic_name>WGS 84</geographic_name> <geographic_code>4326</geographic_code> </entryEPSG> <entryEPSG> <name_IE>WGIUTM21</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>32621</horizontal_code> <horizontal_name>WGS 84 / UTM zone 28N</horizontal_name> <geographic_name>WGS 84</geographic_name> <geographic_code>4326</geographic_code> </entryEPSG> <entryEPSG> <name_IE>WGIUTM22</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>32622</horizontal_code> <horizontal_name>WGS 84 / UTM zone 28N</horizontal_name> <geographic_name>WGS 84</geographic_name> <geographic_code>4326</geographic_code> </entryEPSG> <entryEPSG> <name_IE>WGIUTM28</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>32628</horizontal_code> <horizontal_name>WGS 84 / UTM zone 28N</horizontal_name> <geographic_name>WGS 84</geographic_name> <geographic_code>4326</geographic_code> </entryEPSG> <entryEPSG> <name_IE>WGIUTM29</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>32629</horizontal_code> <horizontal_name>WGS 84 / UTM zone 29N</horizontal_name> <geographic_name>WGS 84</geographic_name> <geographic_code>4326</geographic_code> </entryEPSG> <entryEPSG> <name_IE>WGIUTM30</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>32630</horizontal_code> <horizontal_name>WGS 84 / UTM zone 30N</horizontal_name> <geographic_name>WGS 84</geographic_name> <geographic_code>4326</geographic_code> </entryEPSG> <entryEPSG> <name_IE>WGIUTM31</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>32631</horizontal_code> <horizontal_name>WGS 84 / UTM zone 31N</horizontal_name> <geographic_name>WGS 84</geographic_name> <geographic_code>4326</geographic_code> </entryEPSG> <entryEPSG> <name_IE>WGIUTM32</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>32632</horizontal_code> <horizontal_name>WGS 84 / UTM zone 32N</horizontal_name> <geographic_name>WGS 84</geographic_name> <geographic_code>4326</geographic_code> </entryEPSG> <entryEPSG> <name_IE>WGIUTM33</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>32633</horizontal_code> <horizontal_name>WGS 84 / UTM zone 33N</horizontal_name> <geographic_name>WGS 84</geographic_name> <geographic_code>4326</geographic_code> </entryEPSG> <entryEPSG> <name_IE>WGIUTM34</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>32634</horizontal_code> <horizontal_name>WGS 84 / UTM zone 34N</horizontal_name> <geographic_name>WGS 84</geographic_name> <geographic_code>4326</geographic_code> </entryEPSG> <entryEPSG> <name_IE>WGIUTM35</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>32635</horizontal_code> <horizontal_name>WGS 84 / UTM zone 35N</horizontal_name> <geographic_name>WGS 84</geographic_name> <geographic_code>4326</geographic_code> </entryEPSG> <entryEPSG> <name_IE>WGIUTM36</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>32636</horizontal_code> <horizontal_name>WGS 84 / UTM zone 36N</horizontal_name> <geographic_name>WGS 84</geographic_name> <geographic_code>4326</geographic_code> </entryEPSG> <entryEPSG> <name_IE>WGIUTM37</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>32637</horizontal_code> <horizontal_name>WGS 84 / UTM zone 37N</horizontal_name> <geographic_name>WGS 84</geographic_name> <geographic_code>4326</geographic_code> </entryEPSG> <entryEPSG> <name_IE>WGIUTM38</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>32638</horizontal_code> <horizontal_name>WGS 84 / UTM zone 38N</horizontal_name> <geographic_name>WGS 84</geographic_name> <geographic_code>4326</geographic_code> </entryEPSG> <entryEPSG> <name_IE>WGIUTM39</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>32639</horizontal_code> <horizontal_name>WGS 84 / UTM zone 39N</horizontal_name> <geographic_name>WGS 84</geographic_name> <geographic_code>4326</geographic_code> </entryEPSG> <entryEPSG> <name_IE>WGIUTM40</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>32640</horizontal_code> <horizontal_name>WGS 84 / UTM zone 40N</horizontal_name> <geographic_name>WGS 84</geographic_name> <geographic_code>4326</geographic_code> </entryEPSG> <entryEPSG> <name_IE>WGIUTM41</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>32641</horizontal_code> <horizontal_name>WGS 84 / UTM zone 41N</horizontal_name> <geographic_name>WGS 84</geographic_name> <geographic_code>4326</geographic_code> </entryEPSG> <entryEPSG> <name_IE>WGIUTM42</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>32642</horizontal_code> <horizontal_name>WGS 84 / UTM zone 42N</horizontal_name> <geographic_name>WGS 84</geographic_name> <geographic_code>4326</geographic_code> </entryEPSG> <entryEPSG> <name_IE>WGIUTM43</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>32643</horizontal_code> <horizontal_name>WGS 84 / UTM zone 43N</horizontal_name> <geographic_name>WGS 84</geographic_name> <geographic_code>4326</geographic_code> </entryEPSG> <entryEPSG> <name_IE>GBNATGRID</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>27700</horizontal_code> <horizontal_name>OSGB36 / British National Grid</horizontal_name> <geographic_name>OSGB36</geographic_name> <geographic_code>4277</geographic_code> </entryEPSG> <entryEPSG> <name_IE>EINATGRID</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>29900</horizontal_code> <horizontal_name>OSGB36 / British National Grid</horizontal_name> <geographic_name>TM65 </geographic_name> <geographic_code>4299</geographic_code> </entryEPSG> <entryEPSG> <name_IE>GEOGRAPH_G96</name_IE> <horizontal_type>GEOGRAPHIC</horizontal_type> <horizontal_code>4326</horizontal_code> <horizontal_name>WGS 84</horizontal_name> <geographic_name>WGS 84</geographic_name> <geographic_code>4326</geographic_code> </entryEPSG> <entryEPSG> <name_IE>LAMBMAROC1</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>26191</horizontal_code> <horizontal_name>Merchich / Nord Maroc</horizontal_name> <geographic_name>Merchich</geographic_name> <geographic_code>4261</geographic_code> </entryEPSG> <entryEPSG> <name_IE>LAMBMAROC2</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>26192</horizontal_code> <horizontal_name>Merchich / Sud Maroc</horizontal_name> <geographic_name>Merchich</geographic_name> <geographic_code>4261</geographic_code> </entryEPSG> <entryEPSG> <name_IE>LAMBMAROC3</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>26193</horizontal_code> <horizontal_name>Merchich / Sahara</horizontal_name> <geographic_name>Merchich</geographic_name> <geographic_code>4261</geographic_code> </entryEPSG> <entryEPSG> <name_IE>GEOGRAPH_IAG</name_IE> <horizontal_type>GEOGRAPHIC</horizontal_type> <horizontal_code>4326</horizontal_code> <horizontal_name>IAG GRS80</horizontal_name> <geographic_name>IAG GRS80</geographic_name> <geographic_code>4326</geographic_code> </entryEPSG> <entryEPSG> <name_IE>GEOGRAPH_WGI</name_IE> <horizontal_type>GEOGRAPHIC</horizontal_type> <horizontal_code>4326</horizontal_code> <horizontal_name>WGS 84</horizontal_name> <geographic_name>WGS 84</geographic_name> <geographic_code>4326</geographic_code> </entryEPSG> <entryEPSG> <name_IE>PALTMMODIFIE</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>28192</horizontal_code> <horizontal_name>Palestine 1923-Palestine Belt grid</horizontal_name> <geographic_name>Palestine 1923</geographic_name> <geographic_code>4281</geographic_code> </entryEPSG> <entryEPSG> <name_IE>STERO-ROUMA0</name_IE> <horizontal_type>PROJECTED</horizontal_type> <horizontal_code>31700</horizontal_code> <horizontal_name>Stereographique Oblique sur la Roumanie</horizontal_name> <geographic_name>Dealul Pisculin 1970</geographic_name> <geographic_code>4317</geographic_code> </entryEPSG> </tableEPSG> --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]