Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add XSLT instruction checking #7

Open
19 of 28 tasks
pgfearo opened this issue Apr 29, 2020 · 0 comments
Open
19 of 28 tasks

Add XSLT instruction checking #7

pgfearo opened this issue Apr 29, 2020 · 0 comments
Assignees

Comments

@pgfearo
Copy link
Member

pgfearo commented Apr 29, 2020

  • Check XSLT Namespace URI
  • Check XSLT mode names
  • Check XSLT key names
  • Check attribute-set names
  • Check XPath/XSLT function name references
  • Resolve XSLT xsl:call-template names
  • Resolve with-param names in xsl:call-template
  • Check XSLT accumulator names
  • Check for duplicate global variable declarations
  • Check for duplicate function name/arity declarations
  • Check exclude-result-prefixes attribute
  • Check import/include hrefs resolve to files that exist
  • Check for duplicate function parameter names
  • Check for duplicate template parameter names
  • Check for duplicate parameter names in xsl:iterate
  • Check XSLT params in templates occur first
  • Check XSLT params in functions occur first
  • Check XSLT params in xsl:iterate occur first
  • Check XSLT as attribute content - e.g. xs:string, map(*) etc.
  • Check name attribute values (with no AVTs) are valid names
    • Allow xsl:attribute name="xml:space" etc
  • Check escaped {{ and }} in AVT/TVT contexts are properly nested
  • Check XSLT attribute values are non-empty (unless allowed - e.g. 'namespace')
  • Schema-based checks
    • XSLT Instruction is allowed in context
    • Required attributes on XSLT instruction are present
    • Other attributes are not present
    • Values of XSLT attributes with enum types are checked
@pgfearo pgfearo self-assigned this May 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant