Ask Your Question

Revision history [back]

This is untested, but I think you have a missing <\avp> closing tag in your vendor xml.

In dictionary.xml you need:

<!ENTITY myvendor SYSTEM "myvendor.xml"> 

&myvendor;

and in myvendor.xml you need:

<?xml version="1.0" encoding="utf-8"?>

<vendor vendor-id="myvendor" code="0000" name="myvendor"/>
    <avp name="Service-Name" code="14" mandatory="must" may-encrypt="yes" vendor-id="myvendor">
       <type type-name="UTF8String"/>
    </avp>

You also had trailing spaces in a few of the "myvendor" strings, probably best not to do that. I'm also not sure if you need the vendor-bit="must" attribute in the avp declaration.

click to hide/show revision 2
No.2 Revision

This is untested, but I think you have a missing <\avp></avp> closing tag in your vendor xml.

In dictionary.xml you need:

<!ENTITY myvendor SYSTEM "myvendor.xml"> 

&myvendor;

and in myvendor.xml you need:

<?xml version="1.0" encoding="utf-8"?>

<vendor vendor-id="myvendor" code="0000" name="myvendor"/>
    <avp name="Service-Name" code="14" mandatory="must" may-encrypt="yes" vendor-id="myvendor">
       <type type-name="UTF8String"/>
    </avp>

You also had trailing spaces in a few of the "myvendor" strings, probably best not to do that. I'm also not sure if you need the vendor-bit="must" attribute in the avp declaration.