Project

Profile

Help

Bug #4546

closed

Bad location information when @use-when expression in an imported module has a syntax error

Added by Norman Tovey-Walsh almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Diagnostics
Sprint/Milestone:
-
Start date:
2020-05-07
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
10, 9.9
Fix Committed on Branch:
10, 9.9
Fixed in Maintenance Release:
Platforms:

Description

Hi Mike,

If you run the attached stylesheet, you'll get a message like this:

Static error on line 9 column 32 of driver.xsl:
  XPST0003  Unmatched quote in expression
Unmatched quote in expression

The actual error is the missing quote in use-when on line 10 of module.xsl

I had to binary search my module to find the error :-)


Files

driver.xsl (580 Bytes) driver.xsl Norman Tovey-Walsh, 2020-05-07 12:27
module.xsl (435 Bytes) module.xsl Norman Tovey-Walsh, 2020-05-07 12:27

Please register to edit this issue

Also available in: Atom PDF