Donate Share

Saxon XSLT and XQuery Processor

Tracker: Bugs

5 Crash with invalid IDs in source doc - ID: 722537
Last Update: Settings changed ( mhkay )

If a document has a DTD that identifies an attribute as
an ID attribute, but is parsed with a non-validating
parser, then it is possible to create a document in
which an attribute node is annotated as being of type
ID but is not a valid ID. Saxon 7.4 crashes when it
encounters this situation (specifically, when the
attribute is a zero-length string).

The message is: java.lang.IllegalStateException:
Internal error in data model: node value '' does not
match type annotation xs:ID

Reported by Dave Pawson

Affects Saxon 7.4 only


Michael Kay ( mhkay ) - 2003-04-16 15:14

5

Closed

Fixed

Michael Kay

XPath conformance

v7.4

Public


Comment ( 1 )

Date: 2003-05-02 13:36
Sender: mhkayProject Admin

Logged In: YES
user_id=251681

Source code fixed, test case added (idky32)


Attached File

No Files Currently Attached

Changes ( 3 )

Field Old Value Date By
close_date - 2003-06-27 18:58 mhkay
status_id Open 2003-06-27 18:58 mhkay
resolution_id None 2003-06-27 18:58 mhkay