#77 closed defect (fixed)
Some command line tools put nulls in output, causing xml parsing errors
Reported by: | matt.hughes@… | Owned by: | cmlenz |
---|---|---|---|
Priority: | minor | Milestone: | 0.5.1 |
Component: | Build slave | Version: | 0.5 |
Keywords: | Cc: | ||
Operating System: | Windows |
Description
Running Microsoft Visual Studio .NET 2003 from sh:exec to build a project results in a parser error from expat on the master because VS.NET outputs null characters in some cases. One solution is to elimiate null characters from the output in Command Line?.execute, which the attached patch does.
If other tools can reasonably be expected to have null characters in their output, it may be more appropriate to do this later, such as just before the master parses the message, or just before the slave sends it. It may also be more appropriate to convert nulls to spaces or something else rather than just eliminating them, or encode nulls in XML in a way that expat likes.
Attachments (1)
Change History (3)
Changed 19 years ago by matt.hughes@…
comment:1 Changed 19 years ago by cmlenz
- Milestone set to 0.5.1
- Operating System set to Windows
- Status changed from new to assigned
comment:2 Changed 19 years ago by cmlenz
- Component changed from General to Build slave
- Resolution set to fixed
- Status changed from assigned to closed
Applied a somewhat simpler modification in [339].
Simple fix for nulls in command line output