Bill, you may need to do a dos2unix on your file. I've run into that before with custom tag files in our linux environment.

/John

William M Conlon wrote:
I used the custom tag generator to create the following xml:


<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE TAGPACKAGES SYSTEM "ctags.dtd" >
<tagpackages Version="0b1">
    <packagedef id="ISINTv1.0">
        <author>William M. Conlon</author>
        <version>1.0</version>
        <copyright>To the Point. 2006</copyright>
        <packagedesc>Returns true if str is an integer</packagedesc>
        <objects>
            <objectdef id="ISINT_obj" type="TCF">
                <name>ISINT.tcf</name>
                <varname>ISINT_obj</varname>
                <scope>local</scope>
            </objectdef>
</objects> <tags> <tagdef name="ISINT" objectid="ISINT_obj">
                <method>ISINT</method>
                <encoding></encoding>
<tagdesc></tagdesc>
                <attrdef name="str" required="">
                    <defaultvalue></defaultvalue>
                    <attrdefdesc></attrdefdesc>
                </attrdef>
            </tagdef>
        </tags>
    </packagedef>
</tagpackages>

But on startup, I get the following in the events log:

[21171] 2006-10-06 11:35:11 RUNTIME WARNING Invalid xml header in document - '/usr/local/witango/configuration/CustomTags/ISINT.xml'

Any ideas?

BTW, this is to simplify testing of database keys to prevent SQL injection attacks from <@SEARCHARG _uid1>. The regex is /^[0-9]*$/



Bill

William M. Conlon, P.E., Ph.D.
To the Point
345 California Avenue Suite 2
Palo Alto, CA 94306
   vox:  650.327.2175 (direct)
   fax:  650.329.8335
mobile:  650.906.9929
e-mail:  mailto:[EMAIL PROTECTED]
   web:  http://www.tothept.com

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf


--


John McGowan
[EMAIL PROTECTED]
P 847.608.6900 x 110
F 847.608.9501

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to