diff --git a/sample/import-sat.xsl b/sample/import-sat.xsl index 6bfeaaa3..f283a61b 100644 --- a/sample/import-sat.xsl +++ b/sample/import-sat.xsl @@ -3,21 +3,6 @@ xmlns:fn="abc" version="3.0"> - - - - - - - - - - - - - - - - + \ No newline at end of file diff --git a/src/xsltTokenDiagnostics.ts b/src/xsltTokenDiagnostics.ts index 52aaa3d2..a396e7fc 100644 --- a/src/xsltTokenDiagnostics.ts +++ b/src/xsltTokenDiagnostics.ts @@ -1336,7 +1336,7 @@ export class XsltTokenDiagnostics { skipValidation = token.value === '@xml'; if (!skipValidation && token.value === '@') { let nextToken = allTokens.length > index + 1 ? allTokens[index + 1] : null; - skipValidation = nextToken ? token.value === '@' && nextToken.value === '*' : false; + skipValidation = nextToken ? token.value === '@' && (nextToken.value === '*' || nextToken.value === '*:') : false; } } if (!skipValidation) {