[ expat-Bugs-561020 ] segmentation fault on using ISO-8859-15

noreply@sourceforge.net noreply@sourceforge.net
Mon May 27 03:45:03 2002


Bugs item #561020, was opened at 2002-05-27 03:41
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=561020&group_id=10127

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: segmentation fault on using  ISO-8859-15

Initial Comment:
1.95.1 and 1.95.2 dll's fails with segmentation faults if 
this encoding is used: <?xml version="1.0" 
encoding="ISO-8859-15" standalone = "yes"?>

If replaced -15 with -1 above, file parses correctly. 

I am using expat with exml (prerel 0.2.0).

Full xml file attached.

Any advice on a quick fix appreciated.

Ståle A. Olsen 

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2002-05-27 03:44

Message:
Logged In: NO 

file upload borked, so cut below for file:

<?xml version="1.0" encoding="ISO-8859-15" standalone 
= "yes"?>
    <!DOCTYPE RELEASE [
  	<!ELEMENT RELEASE ANY>
  	<!ELEMENT PRESS_RELEASE (TYPE, 
DISTRIBUTOR, ID, TOPIC?, FORMAT, PUBLISH_TIME, 
COMPANY_NAME, COUNTRY, TIC?, US_TIC?, 
STOCKMARKET_TICKER, ISIN?, ISIC?, LANGUAGE, 
COMPANY_URL?, HEADING, INGRESS?, MAIN_BODY?, 
URL1?, URL2?, URL3?, URL4?, URL5?, URL6?, URL7?, 
URL8?, URL9?, FOOTER?,SIGNATURE)>
  	<!ELEMENT TYPE (#PCDATA)>
    <!ELEMENT DISTRIBUTOR (#PCDATA)>
  	<!ELEMENT ID (#PCDATA)>
  	<!ELEMENT TOPIC (#PCDATA)>
  	<!ELEMENT FORMAT (#PCDATA)>
  	<!ELEMENT PUBLISH_TIME (#PCDATA)>
  	<!ELEMENT COMPANY_NAME (#PCDATA)>
  	<!ELEMENT COUNTRY (#PCDATA)>
  	<!ELEMENT TIC (#PCDATA)>
  	<!ELEMENT US_TIC (#PCDATA)>
   	<!ELEMENT STOCKMARKET_TICKER 
(#PCDATA)>
  	<!ELEMENT ISIN (#PCDATA)>
    <!ELEMENT ISIC (#PCDATA)>
  	<!ELEMENT LANGUAGE (#PCDATA)>
    <!ELEMENT COMPANY_URL (#PCDATA)>
  	<!ELEMENT HEADING (#PCDATA)>
  	<!ELEMENT INGRESS (#PCDATA)>
  	<!ELEMENT MAIN_BODY (#PCDATA)>
  	<!ELEMENT URL1 (#PCDATA)>
  	<!ELEMENT URL2 (#PCDATA)>
	  <!ELEMENT URL3 (#PCDATA)>
	  <!ELEMENT URL4 (#PCDATA)>
  	<!ELEMENT URL5 (#PCDATA)>
  	<!ELEMENT URL6 (#PCDATA)>
  	<!ELEMENT URL7 (#PCDATA)>
	  <!ELEMENT URL8 (#PCDATA)>
  	<!ELEMENT URL9 (#PCDATA)>
    <!ELEMENT FOOTER (#PCDATA)>
  	<!ELEMENT SIGNATURE (#PCDATA)>
	  ]>
    
<RELEASE>
<PRESS_RELEASE>
<TYPE>Announcements</TYPE>
<DISTRIBUTOR>Hugin</DISTRIBUTOR>
<ID>860467</ID>
<TOPIC>Contracts</TOPIC>
<FORMAT>Text</FORMAT>
<PUBLISH_TIME>08:37 27-05-2002</PUBLISH_TIME>
<COMPANY_NAME>Tekla Oyj</COMPANY_NAME>
<COUNTRY>Finland</COUNTRY>
<TIC>TLA1V</TIC>
<US_TIC></US_TIC>
<STOCKMARKET_TICKER>HEX</STOCKMARKET_TICK
ER>
<ISIN>FI0009008833</ISIN>
<ISIC>Manufacturing</ISIC>
<LANGUAGE>en</LANGUAGE>
<COMPANY_URL></COMPANY_URL>
<HEADING>TEKLA AQUA SOFTWARE SUPPORTS THE 
CUSTOMER MANAGEMENT OF THE WATER
UTILITIES OF FINNISH CITIES ESPOO, VANTAA AND 
TAMPERE</HEADING>
<INGRESS></INGRESS>
<MAIN_BODY>
Tekla Corporation   Press Release   27.5.2002 at 9.30

TEKLA AQUA SOFTWARE SUPPORTS THE CUSTOMER 
MANAGEMENT OF THE WATER
UTILITIES OF FINNISH CITIES ESPOO, VANTAA AND 
TAMPERE

Espoo Water, Vantaa Water and Tampere Water have 
jointly acquired
Tekla Aqua. Tekla&apos;s system supports water 
utilities&apos; customer
management, especially invoicing and payment control.

This is an extensive project, and the utilities issued an EU-
wide
invitation to tender. Tekla&apos;s system was considered 
superior to the
alternatives.

- Tekla Aqua is a complete system, and thus we won&apos;t 
have to allocate
resources for customizing it. Tekla&apos;s system met our 
needs best,
comments Tuija Räty, Development Director of Espoo 
Water.

The system supports the customer management of the water 
utilities,
and it is used to send tens of thousands of invoices each 
year.

- The system helps us serve our customers better. Also, its 
reporting
features enable utilizing different kinds of data in daily 
business
operations and management, reports Esko Haume, 
Managing Director of
Tampere Water.

- Ease of use, versatility and technical properties that make 
our
work easier were the major factors in our decision in favor of 
Tekla,
crystallizes Pertti Heinonen, Managing Director of Vantaa 
Water.

The implementation plan of the water utilities&apos; system 
project will
be ready in July, and the system will be implemented at the 
beginning
of 2003 at the latest.
</MAIN_BODY>
<FOOTER>For additional information, please contact:

Tekla Corporation, Account Manager Are Kivelä, Tel. +358 
9 8879 500
http://www.tekla.com

Espoo Water, Development Director Tuija Räty, Tel. +358 9 
8162 5513

Vantaa Water, Managing Director Pertti Heinonen, Tel +358 
9 839 11

Tampere Water, Managing Director Esko Haume, Tel +358 
3 3146 3640

Distribution: Main media
For Information: Helsinki Exchanges

Tekla in Brief

Tekla Corporation is pioneer of infrastructure management 
globally.
Software products developed by Tekla improve commercial 
and operative
efficiency and are used in energy sales and distribution, 
building
and construction and public infra. Tekla Group´s net sales for 
2001
reached 39.2 million euros, increasing by 48% compared 
with the
previous year. International operations accounted for 57% of 
net
sales. In August 2001 Tekla acquired from Enfo Group Plc 
(previously
Tietosavo Plc) its two business units: Enfo Soft (research 
and
development of information systems) and Enfo Systems 
(delivery and
integration of information systems). Enfo Group Plc´s 
Swedish
subsidiary Enfo AB´s business operations were also 
included in the
deal. At the moment Tekla Group employs approximately 
470 persons, of
whom nearly every fifth outside Finland.
</FOOTER>
<SIGNATURE>Copyright © Hugin ASA . All rights 
reserved.</SIGNATURE>
</PRESS_RELEASE>
</RELEASE>


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=561020&group_id=10127