Project

Profile

Help

Bug #654

closed

XQuery encoding declaration mishandled

Added by Anonymous over 19 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
XQuery conformance
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Legacy ID:
sf-1251714
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

SourceForge user: mhkay

When an encoding declaration is present at the start of

a query, Saxon is misreading it, and is always

reverting to the default encoding of UTF-8. This means

that if the query is actually encoded in ISO-8859-1

(say) and uses non-ASCII characters, these will be

parsed incorrectly, typically leading to syntax errors.

A replacement for module net.sf.saxon.query.QueryReader

is attached.


Files

QueryReader.java (9.56 KB) QueryReader.java Anonymous, 2005-08-04 13:53

No data to display

Please register to edit this issue

Also available in: Atom PDF