Timeline for How do I use PowerShell to Validate XML files against an XSD?
Current License: CC BY-SA 4.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
S Jul 3 at 14:43 | history | suggested | Marco Carlo Moriggi | CC BY-SA 4.0 |
just added "lang-powershell" as the language of the code block to leverage SO syntax highlighting
|
Jul 2 at 7:56 | review | Suggested edits | |||
S Jul 3 at 14:43 | |||||
Oct 7, 2022 at 18:00 | comment | added | eoleary | This doesn't work; add_validationeventhandler will callback with errors, but the $failCount does not accumulate | |
Jul 6, 2012 at 15:53 | comment | added | Chloe | Even with no arguments, or bad arguments, it doesn't do anything. PS D:\projects\svcs> .\Test-Xml.ps1 PS D:\projects\svcs> | |
Jul 6, 2012 at 15:52 | comment | added | Chloe | This doesn't seem to work: PS D:\projects\svcs> dir *.xml | Test-Xml The term 'Test-Xml' is not recognized as the name of a cmdlet, function, script file, or operable program. | |
Sep 6, 2010 at 5:33 | history | edited | Flatliner DOA | CC BY-SA 2.5 |
Fixed issue where reader was not being closed.
|
Sep 1, 2010 at 11:11 | comment | added | Christian Klauser |
The $reader should be closed after the while -loop. Otherwise you won't be able to edit the file until the Finalizer-saftey-net kicks in.
|
|
Jan 21, 2010 at 3:11 | history | edited | Flatliner DOA | CC BY-SA 2.5 |
Fixed formatting
|
Jan 18, 2010 at 8:08 | comment | added | OnesimusUnbound | The script has an error. It has no closing brace for the function. | |
Jun 30, 2009 at 4:10 | vote | accept | Flatliner DOA | ||
May 5, 2009 at 23:04 | history | edited | Flatliner DOA | CC BY-SA 2.5 |
Changed Validate-Xml to Test-Xml to use a PowerShell verb
|
May 5, 2009 at 2:16 | history | answered | Flatliner DOA | CC BY-SA 2.5 |