[Freeswitch-users] Possible bug commenting X-PRE-PROCESS

Anthony Minessale anthony.minessale at gmail.com
Tue Mar 15 19:10:16 MSK 2011


you cannot comment those.
They are not real xml they are designed to be ignored by XML and
parsed by the pre-processor and are parsed before the xml parser.
All the xml parser would see on your example is <!-- -->
if you want to comment them, change X- to Z- or "cmd" to "comment"


On Tue, Mar 15, 2011 at 10:33 AM, Mario G <mario_fs at mgtech.com> wrote:
> The line below was in an external profile. I commented it thinking it would
> be ignored as such. However, it was still used and the file loaded. This
> drive me nuts until I moved the extip.xml file out of the directory and
> FreeSwitch noted errors on startup. The only way was to put a space as "X-
> PRE..". I can't image why you would want a comment to be processed as a
> normal statement. Git is 3/13/11.
>  <!--<X-PRE-PROCESS cmd="include" data="extip.xml"/>  -->
>
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900



More information about the FreeSWITCH-users mailing list