on 12-05-2006 12:14 PM
hello there
i tryed the DOM parsing on the returned paramter from the <u>portal eventing</u>
between<u> visual composer and webdynpro</u> and i get this error :
<b>com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here:
(hex) 25, 33, 43(:main:,row:1,col:3</b>
the ascii code from the visual composer in dataObject is:
%3CParamas%20version%3D%222%22%20%3E%3CRow%20STR1%3D%22test1%22%20/%3E%3C/Params%3E
the xml code of dataObject string is:
<b><Params version="2"><Row STR1="test1"\><\Params></b>
the java code is:
// Create a Dom parser
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
factory.setValidating(true);
DocumentBuilder docBuilder = factory.newDocumentBuilder();
// Parse input to create document tree
StringReader s = new StringReader(dataObject);
InputSource is = new InputSource(s);
Document doc = docBuilder.parse(is);
thanx but i fixed the problem my self the problem was in visual composer out put xml its sent a '/' insted of '\' in the xml syntax
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.