Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
b4eebec
lexer: tokenize strings on 'as' attributes of xslt instructions
pgfearo May 1, 2025
f70c771
complectionProvider: we must have special completion list for XPath t…
pgfearo May 1, 2025
fd3705e
lexer: ensure that tokens within the 'as' attribute are given the tim…
pgfearo May 1, 2025
9eba411
add test instructions to the text XSLT file
pgfearo May 1, 2025
283139d
add test5 to test XSLT
pgfearo May 1, 2025
a4552be
for non xslt-aware colour themes, we need token types within the 'as…
pgfearo May 3, 2025
f8d9b1b
xpath lexer: special behaviour required if the token is within an 'as…
pgfearo May 3, 2025
5a9c68d
in the expression $a instance of function(*), we need 'function' toke…
pgfearo May 3, 2025
95af76b
add test6
pgfearo May 3, 2025
b7f41dd
don't report 'missing context item' for types within 'as' attributes
pgfearo May 3, 2025
e6f3ac2
ensure ? at end of xs:integer? within 'as' attribute within a function
pgfearo May 3, 2025
a2c29b8
linter: 1. don't report error for special saxon extension types pref…
pgfearo May 3, 2025
d4af71e
don't report missing context-item error when performin a nested map l…
pgfearo May 3, 2025
5d198c4
'xs:anyAtomicType' was not included in the auto-completion list for t…
pgfearo May 4, 2025
e91d20a
linter: when verifying a type's name, if a type is imported from an X…
pgfearo May 4, 2025
5bed23c
linter: verifying type name when type is schema-imported: fix last co…
pgfearo May 4, 2025
159bbd1
auto-completion: if selecting xs:integer and selecting xs:string from…
pgfearo May 4, 2025
c611650
1. withinTypeDeclarationAttr should be calculated only once per attri…
pgfearo May 5, 2025
31f6963
lexer: only convert occurrence indicators to nodeType, not all operators
pgfearo May 5, 2025
868738c
add test with invalid token types
pgfearo May 5, 2025
6ea1913
new test for nodeType followed by simpleType
pgfearo May 5, 2025
56d785a
fix test names
pgfearo May 5, 2025
f845b3b
indicate error if there's a missing ',' separator in 'as' attribute
pgfearo May 5, 2025
c1f3e3c
in 'as' attr value: 'element(book)', the token type of 'book' is 'sim…
pgfearo May 6, 2025
4ee9305
no need for this code
pgfearo May 6, 2025
ba4702f
linter: check if too many args in map: e.g. map(xs:integer, xs:intege…
pgfearo May 6, 2025
f4bbb1e
update test
pgfearo May 6, 2025
20579b0
1. prevent pushing problem token twice
pgfearo May 7, 2025
1d6cd16
include 'array' when collecting functionArity
pgfearo May 7, 2025
dd3cee8
fix arity check by linter for 'map' and 'array' -
pgfearo May 7, 2025
4f9411e
lexer: 'expand-text' attribute prevented correct tokenising with the …
pgfearo May 7, 2025
e9bbc5c
add attribute type tests
pgfearo May 7, 2025
eb899e9
add test to show error when attribute() has more than 2 args
pgfearo May 7, 2025
fbdf64e
check arity of types: 'array', 'element', 'map', 'attribute'
pgfearo May 8, 2025
a328697
xpath4types: support enum and record types in linter
pgfearo May 8, 2025
0a1da8f
include xpath 4.0 in tests
pgfearo May 8, 2025
c128100
code tidy in tests
pgfearo May 8, 2025
f6c3b6f
remove dupe test
pgfearo May 8, 2025
8f1d81d
bug: map( ) not marked as error
pgfearo May 9, 2025
27496f8
bug: type expr starting with 'as' was not marked as error
pgfearo May 9, 2025
8b7a56f
update tvt sample
pgfearo May 9, 2025
28c82b7
bugfix: the '?' in element(?) was not reported as an error because i…
pgfearo May 10, 2025
73ff9ce
bugfix: '..' was not marked as an error with an 'as' attribute
pgfearo May 10, 2025
0d30c78
the '?' in (arrray(*))? was marked as an error
pgfearo May 10, 2025
69bafa7
keep '()' token as an operator if it follows a function type (e.g. no…
pgfearo May 10, 2025
60dc88d
the '()' token in 'element()()' should be an error
pgfearo May 10, 2025
223b86a
new tests
pgfearo May 10, 2025
2bd3e8c
xs:string within attribute() is ok because it's a node name test for …
pgfearo May 10, 2025
f4c87f7
and file to explore XSLT validation requirements
pgfearo May 10, 2025
b4992d7
update 'explore' xslt
pgfearo May 10, 2025
9b84764
update sample
pgfearo May 11, 2025
f36deda
configurationDefaults: add basic XML settings for formatting etc.
pgfearo May 11, 2025
609039d
IMPORTANT: we shouldn't have to manually enable semantic highlighting…
pgfearo May 11, 2025
d40faf9
add developer note
pgfearo May 11, 2025
e3f397f
USER-CONFIG: (general) 1. configurationDefaults property was not havi…
pgfearo May 11, 2025
8ae761a
after 'npm audit fix'
pgfearo May 12, 2025
582a46e
to fix npm audit warnings: update @types/jest, test and ts-jest
pgfearo May 12, 2025
17cfa50
tidy up the tests file
pgfearo May 12, 2025
f4d5e9c
Update release version to 1.7
pgfearo May 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ out/xslLexerRun.js
src/**
resources/**
sample/**
test/**
.gitignore
tsconfig.json
jest.config.js
Expand Down
8 changes: 7 additions & 1 deletion notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,10 @@ Find all references from <xsl:mode name>
Rename Symbol from <xsl:mode name>
# What doesn't work
Goto Definition from anywhere
Rename Symbol for anywhere other than <xsl:mode name>
Rename Symbol for anywhere other than <xsl:mode name>

Open VS Code with no user-settings

```
vscode-xslt-tokenizer % code --user-data-dir $(mktemp -d)
```
Loading