Weird HTML error

Nancy Palmquist nlp at vss3.com
Thu Mar 3 07:59:08 PST 2005


Linda Gray wrote:

> I'm writing a rather large HTML file from filepro using the HTML 
> commands.  The process works fine on three servers, running linux.  We 
> have a new server that is 64 bit OS - SuSE 9.0.
>  
> on this system filepro gives me an HTML ERROR
>                                                
> HTML ERROR
> ClosePend when none pending
> pendval = 00030013
> line ....
> prc....
> on :TD- :DI- :TA- that don't immediatly follow the opening tag, but they 
> all had opening tags.  I had to change alot of the ending tags to text 
> commands:  HTML :TX "</div>"
>  
> Has anyone else experienced this?  or know anything about this error?  
> Can it be turned off? 

I have seen this often and it seems that filePro was designed to keep 
track of open and close tags and try to insure that you have done it 
correctly.  I found it would insert tags for closing when it thought it 
was appropriate.  For example,

If I created the following:

<table>
<tr>
<td>
junk here
</tr>
</table>
It would notice that I missed the </td> tag and it would give an error 
such as yours or it would insert it.  I found that very difficult to 
trouble shoot when it added things by itself.

Your solution bypasses the logic and will return control to you.  I 
found that preferable.  I did control it better by setting a global 
variable whenever I opened a tag type and then unset it when I closed 
it.  So I would have a variable called MYTABLE and it would be set to 
open and then cleared when I issued the close table command.  It did 
that for all the large loops that happened as a course of the 
programming.  That seemed to help.

Nancy

-- 
Nancy Palmquist 		MOS & filePro Training Available
Virtual Software Systems	Web Based Training and Consulting	
PHONE: (412) 835-9417		   Web site:  http://www.vss3.com



More information about the Filepro-list mailing list