Skip to content

Tested Sample Rules, found the following 4 rules failing #39

Description

@ELandAX

I have tested X++ Sample rules from Visual Studio.
Added them to: K:\AosService\PackagesLocalDirectory\bin\AppCheckerRules\X++

It turns out the tool does not like spaces in the rule file name. The following rules stopped App Checker due to that:

  1. Enum Compatibility.xq
  2. Mismatched Labels.xq

Removed the space and it worked like a charm.

The following rules failed on execution:

  1. BulkEnumerationReferences.xq, 7/36:
    [XPTY0004] Cannot convert empty-sequence() to xs:string: ().

  2. RecursiveMethods.xq 5/26:
    [XPST0003] Unexpected end of query: '>
    ...'.

I hope this helped.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions