Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

Last modified 17 years ago

#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)

winnull-bug.patch (1.5 KB) - added by matt.hughes@… 19 years ago.
Simple fix for nulls in command line output

Download all attachments as: .zip

Change History (3)

Changed 19 years ago by matt.hughes@…

Simple fix for nulls in command line output

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].

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain cmlenz.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.