Re: [xml] First message: text nodes

Date view Thread view Subject view Author view

From: Rafael Peregrino (rafael.peregrino@innominate.com)
Date: Thu Nov 30 2000 - 07:48:49 EST


Hello,

first of all thanks for the answer...

Charlie Bozeman wrote:

> It's hard to tell without seeing the modifications you have made, but my
> guess is you have something in your xml file like:
> <tag1>blah blah<tag2>yada yada</tag2></tag1>
> This will give you text nodes between elements.

Weird... I don't see this... Have a look yourself below:

<?xml version="1.0"?>

<registry>

  <variables>

    <variable name="NETNAME">
      <template>~/templates/netname.xml</template>
      <sanity>~/scripts/chknetname.sh</sanity>
      <dependences>
        <service>apache</service>
        <service></service>
        <service></service>
        <service></service>
      </dependences>
      <configs>
        <file>/etc/networks</file>
      </configs>
    </variable>

    <variable name="NETADDRESS">
      <template>~/templates/netaddress.xml</template>
      <sanity>~/scripts/chknetaddress.sh</sanity>
      <dependences>
        <service>apache</service>
        <service></service>
        <service></service>
        <service></service>
      </dependences>
      <configs>
        <file>/etc/networks</file>
      </configs>
    </variable>

    <variable name="SERVICE">
      <template>~/templates/services.xml</template>
      <sanity>~/scripts/chkservice.sh</sanity>
      <dependences>
        <service>inetd</service>
        <service>services</service>
        <service></service>
        <service></service>
      </dependences>
      <configs>
        <file>/etc/services</file>
      </configs>
    </variable>

    <variable name="PORT">
      <template>~/templates/port.xml</template>
      <sanity>~/scripts/chkport.sh</sanity>
      <dependences>
        <service>apache</service>
        <service>services</service>
        <service></service>
        <service></service>
      </dependences>
      <configs>
        <file>/etc/services</file>
      </configs>
    </variable>

    <variable name="ALIASES">
      <template>~/templates/aliases.xml</template>
      <sanity>~/scripts/chkaliases.sh</sanity>
      <dependences>
        <service>services</service>
        <service></service>
        <service></service>
        <service></service>
      </dependences>
      <configs>
        <file>/etc/services</file>
      </configs>
    </variable>

  </variables>

</registry>

The changes I've made are really minimal. As said, just the name spaces
code is out and the variables' names were changed. I have even run both
programs in parallel with DDD and analysed/compared the structures while
stepping. I must be really overlooking a fully stupid thing...

Best regards,

Rafael

-- 
rafael.peregrino@innominate.com
software engineer                                        innominate AG
server appliances                                 the linux architects
tel: +49.30.308806-81  fax: -77              http://www.innominate.com
----
Message from the list xml@rpmfind.net
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rpmfind.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Nov 30 2000 - 09:44:00 EST