You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,8 +71,8 @@ slnx-validator MySolution.slnx
71
71
[FAIL] MySolution.slnx
72
72
73
73
MySolution.slnx
74
-
- line 5: [SLNX0013] The element 'Folder' in namespace '...' has invalid child element 'Folder'. List of possible elements expected: 'Project'.
75
-
- line 12: [SLNX0011] File not found: docs\CONTRIBUTING.md
74
+
- line 5: [SLNX013] The element 'Folder' in namespace '...' has invalid child element 'Folder'. List of possible elements expected: 'Project'.
75
+
- line 12: [SLNX011] File not found: docs\CONTRIBUTING.md
76
76
```
77
77
78
78
### Multiple files — mixed results
@@ -86,8 +86,8 @@ slnx-validator src\
86
86
[FAIL] src\Backend.slnx
87
87
88
88
src\Backend.slnx
89
-
- line 4: [SLNX0011] File not found: docs\CONTRIBUTING.md
90
-
- line 8: [SLNX0012] Wildcard patterns are not supported in file paths: docs\*.md
89
+
- line 4: [SLNX011] File not found: docs\CONTRIBUTING.md
90
+
- line 8: [SLNX012] Wildcard patterns are not supported in file paths: docs\*.md
91
91
```
92
92
93
93
## What is validated
@@ -116,13 +116,13 @@ The following are **intentionally out of scope** because the toolchain already h
116
116
117
117
| Code | Name | Description |
118
118
|------|------|-------------|
119
-
|`SLNX0001`|`FileNotFound`| The input `.slnx` file does not exist. |
120
-
|`SLNX0002`|`InvalidExtension`| The input file does not have a `.slnx` extension. |
121
-
|`SLNX0003`|`NotATextFile`| The file is binary and cannot be parsed as XML. |
122
-
|`SLNX0010`|`InvalidXml`| The file is not valid XML (see [`examples/invalid-not-xml.slnx`](examples/invalid-not-xml.slnx)). |
123
-
|`SLNX0011`|`FileNotFound`| A file referenced in `<File Path="...">` does not exist on disk. |
124
-
|`SLNX0012`|`InvalidWildcardUsage`| A `<File Path="...">` contains a wildcard pattern (see [`examples/invalid-wildcard.slnx`](examples/invalid-wildcard.slnx)). |
125
-
|`SLNX0013`|`XsdViolation`| The XML structure violates the schema, e.g. `<Folder>` inside `<Folder>` (see [`examples/invalid-xsd.slnx`](examples/invalid-xsd.slnx)). |
119
+
|`SLNX001`|`FileNotFound`| The input `.slnx` file does not exist. |
120
+
|`SLNX002`|`InvalidExtension`| The input file does not have a `.slnx` extension. |
121
+
|`SLNX003`|`NotATextFile`| The file is binary and cannot be parsed as XML. |
122
+
|`SLNX010`|`InvalidXml`| The file is not valid XML (see [`examples/invalid-not-xml.slnx`](examples/invalid-not-xml.slnx)). |
123
+
|`SLNX011`|`ReferencedFileNotFound`| A file referenced in `<File Path="...">` does not exist on disk. |
124
+
|`SLNX012`|`InvalidWildcardUsage`| A `<File Path="...">` contains a wildcard pattern (see [`examples/invalid-wildcard.slnx`](examples/invalid-wildcard.slnx)). |
125
+
|`SLNX013`|`XsdViolation`| The XML structure violates the schema, e.g. `<Folder>` inside `<Folder>` (see [`examples/invalid-xsd.slnx`](examples/invalid-xsd.slnx)). |
0 commit comments