Hello,
is there a way to include a file inside an XML file (without confusing 
Relax-NG).
I prefer to have passwords in a seperate file so the rest of the config can be 
stored in subversion.

My failed attempt:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Configuration [
<!ENTITY passwordmysql SYSTEM "passwordmysql.xml">
]>

< cut away for brevity >

<Datastore>
        <MySQL>
                <Host port="3306">localhost</Host>
                <Database>opendnssec</Database>
                <Username>opendnssec</Username>
                &passwordmysql;
        </MySQL>
</Datastore>


root@ramanujan:~# ods-signer start
OpenDNSSEC signer engine version 1.2.0
/etc/opendnssec/conf.xml:48: element MySQL: Relax-NG validity error : Expecting 
an element , got nothing
[Thu Mar 24 14:06:51 2011] ods-signerd[3] error: configuration file validation 
failed /etc/opendnssec/conf.xml
[Thu Mar 24 14:06:51 2011] ods-signerd[3] error: unable to parse cfgfile 
/etc/opendnssec/conf.xml
[Thu Mar 24 14:06:51 2011] ods-signerd[3] error: engine config does not exist
[Thu Mar 24 14:06:51 2011] ods-signerd[3] error: cfgfile 
/etc/opendnssec/conf.xml has errors


Any ideas?
-- 
Casper Gielen <[email protected]> | LIS UNIX
PGP fingerprint = 16BD 2C9F 8156 C242 F981  63B8 2214 083C F80E 4AF7

Universiteit van Tilburg | Postbus 90153, 5000 LE
Warandelaan 2 | Telefoon 013 466 4100 | G 236 | http://www.uvt.nl



Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Opendnssec-user mailing list
[email protected]
https://lists.opendnssec.org/mailman/listinfo/opendnssec-user

Reply via email to