qt4cg / qt4tests

QT4 tests
https://qt4cg.org/
3 stars 7 forks source link

Expect XPST0051 for undefined type in test cases #150

Closed GuntherRademacher closed 1 month ago

GuntherRademacher commented 1 month ago

In 3.2 Item Types, the spec explains how to interpret an EQName occurring as an item type designator, and eventually it says:

If the name cannot be resolved to a type, a static error is raised [err:XPST0051].

In contrast to this, itemTypeDecl-007 and itemTypeDecl-010 currently ask for a general parsing error [err:XPST0003].

This change modifies the expected error code accordingly.