0
<currentversion vob="<vobname>" label="<labal>"/>

<export vob="<vobname>" branch="<branch>" label="<label>"/>

error :

The value of attribute "v" associated with an element type "currentversion" must not contain the '<' character.

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
  • You can't use `<` or `>` in a value-string. The fact that they're inside quotes is not enough. – H H Jul 05 '11 at 20:20
  • no i tried already but still same error –  Jul 05 '11 at 20:25
  • if you still have the error, than who is producing that error? Not the XML parser. Maybe the program that is supposed to work with the VALUEs expected something different. – yankee Jul 05 '11 at 20:34

2 Answers2

1

Replace < with &lt; (lt=lower than) and > with &gt; (gt = greater than) if it is not part of a tag...

<currentversion vob="&lt;vobname&gt;" label="&lt;labal&gt;"/>
yankee
  • 38,872
  • 15
  • 103
  • 162
  • Since the < and > characters are used in XML to specifically indicate the beginning and end of tags, they are not allowed in the quoted attribute values. – Matt Rubin Jul 05 '11 at 20:22
0

The error message means exactly what it says, and you fix it by ensuring that all "&" and "<" characters in your data are escaped as "&amp;" and "&lt;" respectively.

Michael Kay
  • 156,231
  • 11
  • 92
  • 164