Bug 57557

Summary: TransformerException when executing 'junitreport' for tests run on IE11
Product: Ant Reporter: ioana.balas
Component: Core tasksAssignee: Ant Notifications List <notifications>
Status: NEEDINFO ---    
Severity: normal    
Priority: P2    
Version: 1.9.4   
Target Milestone: ---   
Hardware: PC   
OS: All   

Description ioana.balas 2015-02-10 15:26:01 UTC
IE11 has the following user agent:

When the XML corresponding to the JUnit tests is created, it is created under the name TEST-Mozillaa50_(Windows_NT_61a_WOW64a_Tridenta70a_rva110)_like_Gecko__Windows.xml and the test suite name is Mozilla\50_(Windows_NT_61;_WOW64;_Trident\70;_rv:110)_like_Gecko__Windows.

Since these two strings do not match, the generation of the report blows up with the following exception:
ERROR: Errors while applying transformations: Fatal error during transformation
Error running tests.
Caused by: javax.xml.transform.TransformerException: <PATH>\html\Mozilla\50_(Windows_NT_61;_WOW64;_Trident\70;_rv:110)_like_Gecko__Windows\package-frame.html (The filename, directory name, or volume label syntax is incorrect)
Comment 1 Gintas Grigelionis 2018-06-18 21:46:15 UTC
How are the test case names set? It looks like a limitation of Windows filesystem (see "naming conventions" in https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx)