EMULAB Forum

clrmamepro [English] => clrmame Discussion => Topic started by: oddi on 31 August 2017, 13:10

Title: Cmpro not import xml with character ">"
Post by: oddi on 31 August 2017, 13:10
Hello Roman , have problem when import new softlist : apple2_cass.xml
Cmp say error line 41 :
<info name="usage" value="16K >Load" />, dont like character ">"
Attach xml for test.
Tnx :)
Title: Re: Cmpro not import xml with character ">"
Post by: Roman on 31 August 2017, 13:24
well... that depends a bit on the used XML parser if this is a valid entry or not.....generally < > & and other special characters should be escaped or the HTML encoding should be used when it is appearing in an xml attribute value, so e.g. &gt; instead of >

I will check if I can update the parser a bit....


...and before this discussion goes wild....yes...it is allowed in standard xml....
Title: Re: Cmpro not import xml with character ">"
Post by: Roman on 31 August 2017, 18:55
fixed in latest nighly build (see forum top link for download).

if you like you can mention that in that other forum, too ;-)
Title: Re: Cmpro not import xml with character ">"
Post by: oddi on 31 August 2017, 20:52
Your rock !!! :)