But shouldn’t line 7391 have the unexpected closing tag that it mentions? I found it in the end, and it wasn’t line 7391!

On 1 Mar 2017, at 16:08, Michael Jerris <mike@jerris.com> wrote:

missing closing tag is hard for this parser to find, so it will usually say at the end.  you are looking for a condition with no closing tag.

On Mar 1, 2017, at 8:51 AM, Rick Jarvis <rick@magicmail.mooo.com> wrote:

When getting something like:

freeswitch@internal> reloadxml
+OK [[error near line 7391]: unexpected closing tag </condition>]

I’m sure I used to do something along the lines of:

cat -n /var/log/freeswitch/freeswitch.xml.fsxml | sed -n '7380,7400p'

And there at 7391 would be the offending line, surrounded by some of the lines before and after.

Now, however, the line is never at the corresponding number. Am I looking at the wrong file maybe?

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org