July 19, 2018, 04:51:05 am *
Welcome, Guest. Please login or register.
News:
 
   Forum Home   Search Login Register OBiTALK  
Pages: [1]
  Print  
Author Topic: XML bug in call history - & character from Caller ID Name field not escaped  (Read 2674 times)
rob613
Jr. Member
**
Posts: 26


« on: May 06, 2013, 04:06:53 pm »

My colleague Tom kindly provided me with an XML parser for the callhistory.xml file that my Obi110 generates.

I use this local URL within my LAN to get the data
http://obi110/callhistory.xml

A few recent calls have & in the Caller ID Name field which came through the PSTN port and this fails to run through the parser.   I'm told that this is not valid XML, and that valid XML would substitute & in place of the &.

Running sed to fix it in this way gives me a workaround but perhaps there are other XML bugs lurking that should be addressed?

Anyone interested in using their obi in this way may contact me.
We're using http://xmlsoft.org/XSLT/xsltproc.html such as the xsltproc package for ubuntu.

One goal was to be able to produce something like the Obi's callhistory.htm output but for all the calls in history, not just by a chunk at a time.   Another goal was to be able to produce a record with just 1 line per call.
Logged
rob613
Jr. Member
**
Posts: 26


« Reply #1 on: June 26, 2013, 05:05:12 pm »

Obihai - any information about this problem of generating improper XML?
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC