sillsdev / SpeechAnalyzer

SIL Speech Analyzer is a Windows program for acoustic analysis of speech sounds.
https://software.sil.org/speech-analyzer/
7 stars 3 forks source link

bug: Test file elan-example3.eaf has invalid NCNames #23

Open darcywong00 opened 3 years ago

darcywong00 commented 3 years ago

When running ElanUtilsTest from the console vstest.console.exe ElanUtilsTest.dll the following errors are given even though the test passes


Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
constructor
startDocument
error:value 'part of speech' is invalid NCName
error:value 'Gesture phases' is invalid NCName
error:value 'part of speech' is invalid NCName
error:value 'Gesture phases' is invalid NCName
endDocument
destructor
  Passed ElanSimple_01 [883 ms]

I believe the spaces in the attributes are invalid NCNames. But we don't know the history of how that test file got generated.