--tKW2IUtsqtDRztdT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

> The server is correctly lauched with=20
>=20
> "<host><jabberd:cmdline flag=3D'h'>servername</jabberd:cmdline></host>"
>=20
> BUT NOT with=20
>=20
> "<host>
>    <jabberd:cmdline flag=3D'h'>servername</jabberd:cmdline>
>  </host>"

The problem is the extra whitespace included in the <host/> element. By
default, XML does not remove whitespace, so you're actually setting the
hostname to be "\n  servername\n" (or perhaps \r\n, not sure), which is
of course invalid.

> Actually, initially i wanted to generate a configuration file for my
> jabber server from a generic jabber.xml, and my parser automatically
> produces xml flow following the second way.

Your generator is broken - the two fragments are not equivalent.

Rob.

--=20
Robert Norris                                       GPG: 1024D/FC18E6C2
Email+Jabber: [EMAIL PROTECTED]                Web: http://cataclysm.cx/

--tKW2IUtsqtDRztdT
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+Gfa1Wb13Z/wY5sIRAlTnAJ9lsojyBjjv/rMLHbjYYBPAJeH5mACdGYRQ
0N3oJAeUUe/ff8WI97q3fIQ=
=agq+
-----END PGP SIGNATURE-----

--tKW2IUtsqtDRztdT--
_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev



Reply via email to