sptk



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XML parser problems



Ok, I will take a look at parser.

2007/3/13, Ilya A. Volynets-Evenbakh <ilya@total-knowledge.com>:

OK. I can confirm a problem reported recently by Sergey.

Comment field was causing trouble. I had to apply following
patch to my engine.xml in order to avoid an error:


diff --git a/engine.xml b/engine.xml
index 2283b45..8738bdd 100644
--- a/engine.xml
+++ b/engine.xml
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<!--<listener protocol="tcp" host="localhost" port="9004"/>-->
+<!-- <listener protocol="tcp" host="localhost" port="9004"/> -->
<!-- <num_threads value="1"/> -->
<listener protocol="unix" path="/tmp/cppserv.sock"/>
<app name="">


Basically, it seems like the parser is unhappy about tag
following comment opening sequence. Adding spaces works
around the issue.

--
Ilya A. Volynets-Evenbakh
Total Knowledge. CTO
http://www.total-knowledge.com




--
Alexey Parshin,
http://www.sptk.net

List hosted by Total Knowledge

Authoright © Total Knowledge: 2005