[Mapguide-trac] [mapguide-trac] #2440: Maestro - Diff Confusion with encoding and whitespace

MapGuide Open Source trac_mapguide at osgeo.org
Thu May 1 00:20:00 PDT 2014


#2440: Maestro - Diff Confusion with encoding and whitespace
----------------------------+-----------------------------------------------
   Reporter:  crispinatime  |       Owner:  jng        
       Type:  defect        |      Status:  new        
   Priority:  low           |   Milestone:  Maestro-6.0
  Component:  Maestro       |     Version:             
   Severity:  minor         |    Keywords:             
External_id:                |  
----------------------------+-----------------------------------------------
 The "Diff" capability in Maestro is very powerful - but also slightly
 confusing on a couple of elements.

 1) XML Encoding
 When opening a resource e.g. .LayerDefinition in XML mode I see the first
 line as:
   <?xml version="1.0"?>

 If I then edit the XML and use the Diff function it highlights the first
 line as red and says that the actual source was
   <?xml version="1.0" encoding="UTF-8"?>

 Implying the XML editor is stripping the encoding before showing the text
 XML and firing a dirty state

 2) Whitespace
 If I have a vector .LayerDefinition resource with a filter, and add a
 space at the end of the filter when opened in XML mode then I would expect
 that line to be highlighted as different in the Diff viewer.  It is not.

 Neither element is major here, just some finesse if possible.

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/2440>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list