Skip to content

Conversation

pgfearo
Copy link
Member

@pgfearo pgfearo commented May 12, 2025

pgfearo added 30 commits May 1, 2025 10:03
- causes 'as' attribute values to use XPath syntax-highlighting
- completionProvider will need fixing
- xslTokenDiagnostics will need fixing
…okens within the

'as' attribute value, now that the attribute value is tokenised
…e 'simpleType'

- even if the value does not match a simple type - this allows xsltTokenDiagnostirs to report
errors if the token value does not  match a type name like 'xs:integer'
… attribute to be neutral - so make the token types nodeType and simpleType have a 'string' type in the semanticTokenTypes 'superType' declaration
…n type to be simpleType and not anonymousFunction
does not cause a 'missing context-item' error
…xed with '~' character

2. don't report error for 'xs:anyAtomicType' - it doesn't have a constructor
…ML schema we cannot easily get the set of defined types, so, provided the type's namespace is declared, report no error
…mmit, we need to check the full list of bound namespace prefixes, not just the xsltPrefixes
… completion-list the updated item would be xs:xs:string - must not dupe the type prefix
…bute

2. show error for types not expected when withinTypeDeclarationAttr is true
…pleType'

check that 'book' is a valid node-name
…r, xs:integer)

or too few: e.g. map ( ) - TODO: 'map()' (no space char between brackets)
2. detect problem with map() or array()
provide meaningful error message with new error type
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment