[Asterisk-bugs] [Asterisk 0010220]: HTTP manager delivery invalid XML

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Jul 17 15:04:57 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10220 
====================================================================== 
Reported By:                msetim
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10220
Category:                   Core/HTTP
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.5 
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        No 
Request Review:              
====================================================================== 
Date Submitted:             07-17-2007 14:04 CDT
Last Modified:              07-17-2007 15:04 CDT
====================================================================== 
Summary:                    HTTP manager delivery invalid XML
Description: 
Hi guys,

I'm using the mxml from http manager and it's give a XML Invalid always
that a new event is throwing always that some agent leave a queue.

Command: http://127.0.0.1/asterisk/mxml?action=waitevent&_=
Error: attribute duplicate

Attribute "variable" is being duplicate many times.

Thanks
====================================================================== 

---------------------------------------------------------------------- 
 msetim - 07-17-07 15:04  
---------------------------------------------------------------------- 
I'm using responseXML of Javascript (AJAM) and it's cannot parse this XML.
This cause how many problems with my code. In this time I'm making a
workaround, removing the duplicate attributes using responseText and then
converting string to XML.

I don't believe that be a javascript language problem. I'm not a XML
expert but searching on google by "xml duplicate attribute" I found how
many threads above same thing using others parsers ( not only javascript
xml parser ).

Thanks guys!!! :) 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-17-07 15:04  msetim         Note Added: 0067476                          
======================================================================




More information about the asterisk-bugs mailing list