Thanks Fergal,

I went and removed all spaces between tags in the document on the server with TextPad it looked like it had some CR's or LF's that it didn't like. I had created the document in BBEdit on mac and saved it on my Win2000 server.

It looks like that did the trick.


Bryan Hughes
TFG-PIU
954-493-6565 x122


On May 18, 2004, at 7:42 PM, Fergal Donlon wrote:

Hi Bryan,
 
I removed the custom tag generator to make some changes to it - I'll have it back on later today or tomorrow.
 
In the meantime if you want to contact me off list I can send on the code and you can run it up yourself....
 
I took the code you sent and the custom tag registered fine. I have attached the xml document - can you run <@reloadcustomtags> and see what happens.
 
If I can be of further assistance please contact me.
 
Fergal
 
 
----- Original Message -----

<x-tad-bigger>From:</x-tad-bigger><x-tad-bigger> </x-tad-bigger><x-tad-bigger>Bryan HUghes</x-tad-bigger><x-tad-bigger> </x-tad-bigger>
<x-tad-bigger>To:</x-tad-bigger><x-tad-bigger> </x-tad-bigger><x-tad-bigger>[EMAIL PROTECTED]</x-tad-bigger><x-tad-bigger> ; </x-tad-bigger><x-tad-bigger>[EMAIL PROTECTED]</x-tad-bigger><x-tad-bigger> </x-tad-bigger>
<x-tad-bigger>Sent:</x-tad-bigger><x-tad-bigger> Tuesday, May 18, 2004 2:38 AM</x-tad-bigger>
<x-tad-bigger>Subject:</x-tad-bigger><x-tad-bigger> Witango-Talk: Custom Tags Broken</x-tad-bigger>

Tried to generate a Custom Tag from the Witango.com web site but it seems the utility was removed from the site.

Documentation also references a dtd that I cannot find on the server:

From documentation "The format of the XML custom meta tag definition file is given by ctags.dtd, which resides in the XML directory under your Witango directory. "

Copied xml from a previously generated custom tag and modified the values for my new TCF.

TCF = error.tcf
Method = ERRORGEN

When I restart the Witango service and look at the event log I see an entry

[ 3164] 2004-05-13 15:36:14 RUNTIME WARNING Invalid xml header in document - 'C:\Program Files\Witango\Server\CustomTags\errorgen.xml'

Here is the XML i created for the custom tag.

<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE TAGPACKAGES SYSTEM "ctags.dtd" >
<tagpackages Version="0b1">
<packagedef id="MyPackage">
<author></author>
<version></version>
<copyright></copyright>
<packagedesc></packagedesc>
<objects>
<objectdef id="errorg" type="TCF">
<name>error.tcf</name>
<varname>errorg</varname>
<scope>request</scope>
</objectdef>
</objects>

<tags>
<tagdef name="errorgen" objectid="errorg">
<method>ERRORGEN</method>
<encoding></encoding>
<tagdesc></tagdesc>

<attrdef name="VALUE" required="">
<defaultvalue></defaultvalue>
<attrdefdesc></attrdefdesc>
</attrdef>
</tagdef>
</tags>
</packagedef>
</tagpackages>

Any suggestions on why I get that error?


________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
<bryan.zip>________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to