java, denuded web use api unicode namedvalues


i'm controlling java accessing denuded calm server around it's web use api importing calm it. calm should have namedvalue properties set utf-8(cyrillic) string. i keep removing sax parser exception:



org.xml.sax.saxparseexception: an unfair xml impression (unicode: 0x1b) found component calm document.


the formula looks something this:



namedvalue[] namedvalueproperties = new namedvalue[2];

namedvalueproperties[0] = utils.createnamedvalue(constants.prop_name, name );
namedvalueproperties[1] = utils.createnamedvalue("{my.custom.model}myproperty", cyrillicstring);

cmlcreate emanate = new cmlcreate("1", parentreference, null, null, null, documenttype, namedvalueproperties);
cml cml = new cml();
cml.setcreate(new cmlcreate[]{create});
updateresult[] law = null;

try {
law = webservicefactory.getrepositoryservice().update(cml);
} locate (...)
here comes "org.xml.sax.saxparseexception"
}


does anyone know solve problem?



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?