Plug-in destroys xpath - reference relations / replaces them by generically named ones


From time to time, something replaces all entries od:xpath=someMeaningfulDescriptor with od:xpath=xXX, where XX is some running number. Since od:condition and od:repeat are not affected and the <w:dataBinding/> element keeps unchanged, I rather suspect the Word plug-in does this weird thing. The someMeaningfulDescriptor is complemented with the xXX xpath element in the ('http://opendope.org/xpaths','xpaths') custom xml document part, and you cannot maintain the xpath expressions in one point any more.

Why would someone do this? Repairing this manually for 120+ bindings is really annoying.
Closed Sep 10, 2011 at 12:39 PM by jharrop


jharrop wrote Sep 10, 2011 at 12:38 PM

This could have happened if you were able to press "Add CustomXML to this docx" when the docx already contained XPaths.

http://opendope.codeplex.com/SourceControl/changeset/changes/ed101382f1ca should stop this happening.