• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Problem with webobjects - tag occurred before another tag
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with webobjects - tag occurred before another tag


  • Subject: Re: Problem with webobjects - tag occurred before another tag
  • From: Gavin Eadie <email@hidden>
  • Date: Mon, 21 Jul 2008 18:50:19 -0400

Mersida ... We try to keep all correspondence on the mailing list, you never know when the archives will be useful to someone.

On Jul 21, 2008, at 5:57 PM, Mersida Kurti wrote:

Hi Gavin,

What do you mean by "(for which I just fed the entire
*.html collection to an editor)"? Is there an editor that will actually indent this stuff so I can see the open and close tags (and the missing ones) better?


Thanks so much,
Mersida

However, for what I was referring to, you don't need to restructure. You just need to change "<BR>" to "<br />" everywhere, regardless of indent etc.


BBEdit was mentioned, it will do a good job of re-indenting. However, be careful, it never heard of <webobject> tags, so while reindenting is safe, its cleanup is not (it doesn't understand <webobject> tags and removes them).

What follows is the result of changing the <br> tags and putting the result through BBEdit's "Gentle Hierarchical" reformatter. I've not fixed the structure, but you can see the symmetry goes askew towards the end. I've also not fixed a lot of optimizations I can see more clearly now it's cleaned up.
_________________________________________________________


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>

<head>

  <meta name="generator" content="WebObjects 5.2">
         <title>Add Products</title>
</head>

<body bgcolor="#FFFFFF">

<webobject name="Form1">

  <table width="100%">

    <tr>

<td valign="TOP">
<font face="Tahoma, Verdana, Arial">Create Products</font>
<br>
<font face="Tahoma, Verdana, Arial"><font size="2"><i>Create Penn State Public Broadcasting products.</i></ font></font>
<br>


      </td>

      <td align="RIGHT" valign="TOP">
        <font face="Tahoma, Arial">
          <webobject name="ActiveImage2">
          </webobject>
        </font>
      </td>

    </tr>

</table>
<p align="CENTER">
<font face="Tahoma, Ariel"><font color="#ff0000">
<webobject name="String5">
</webobject>
</font></font>
</p>
<br>
<font color="#ff0000"><font size="3">*&nbsp;</font></font>
<webobject name="PopUpButton1">
</webobject>
&nbsp;
<webobject name="SubmitButton3">
</webobject>
<br>
<br>
<br>
<table cellspacing="3" cellpadding="3" border="1" width="100%">
<tr valign="TOP">
<td>
<font face="Tahoma, Verdana, Arial"><u><font size="3">Areas of Interest</font></u><font size="4">
<br>
</font></font>
<webobject name="CheckBoxList1">
</webobject>
</td>
<td>
<font face="Tahoma, Verdana, Arial"><u><font size="3">Audiences</font></u></font><font size="4"><font face="Tahoma, Verdana, Arial">
<br>
</font></font>
<webobject name="CheckBoxList2">
</webobject>
<font face="Tahoma, Arial">
<br>
<u><font size="3">Keywords</font></u>
<br>
</font><font face="Tahoma, Arial">Enter Keywords:
<br>
<webobject name="Text1">
</webobject>
<br>
<br>
</font><font face="Tahoma, Arial"><font size="2">
<webobject name="Conditional11">
<font color="#ff0000">You must enter a valid URL, starting with either &quot;http://&quot; or &quot;https://&quot;.
<br>
</font>
</webobject>
</font></font><font face="Tahoma, Arial"><font size="2">
<br>
</font></font><font color="#ff0000"><font size="3">*&nbsp;</ font></font><font face="Tahoma, Arial"><font size="3">Product URL:</ font></font><font face="Tahoma, Arial"><font size="2">
<br>
<webobject name="TextField3">
</webobject>
</font></font><font face="Tahoma, Arial"><font size="2">
<br>
</font></font>
</td>
</tr>
<tr valign="TOP">
<td>
<font face="Tahoma, Arial">Product Id:
<br>
<webobject name="String1">
</webobject>
<br>
<br>
Location Code:
<br>
<webobject name="String4">
</webobject>
<br>
<br>
Location:
<br>
<webobject name="String2">
</webobject>
<br>
<br>
Course Key:
<br>
<webobject name="String3">
</webobject>
</font>
</td>
<td colspan="2">
<font color="#ff0000"><font size="3">*&nbsp;</font></ font><font size="3"><font face="Tahoma, Verdana, Arial">Overriding Title:</font></font><font face="Tahoma, Arial"><font size="3">
<br>
<webobject name="TextField1">
</webobject>
<font face="Tahoma, Verdana, Arial"><font size="3">
<br>
<br>
</font></font><font color="#ff0000"><font size="3">*&nbsp;</font></font><font size="3"><font face="Tahoma, Verdana, Arial">Overriding Description:</font></font><font face="Tahoma, Arial"><font size="3"><font face="Tahoma, Arial"><font size="3">
<br>
<font size="1"><font face="Tahoma, Arial">(If length is more than 2048 characters, changes will not be saved.)</ font></font>
<br>
<webobject name="Text2">
</webobject>
<br>
<br>
<font face="Tahoma, Arial">
<webobject name="SubmitButton1">
</webobject>
<webobject name="SubmitButton2">
</webobject>
</font></font></font></font></font>
</tr>
</td>
</font>
</table>
</webobject>
<font face="Tahoma, Arial"><font size="3"><font color="#ff0000"><font size="3">*&nbsp;</font></font></font>Required Fields</font>
</body>
</html>


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Problem with webobjects - tag occurred before another tag
      • From: Gavin Eadie <email@hidden>
  • Prev by Date: Re: generics fun
  • Next by Date: Re: XCode migration
  • Previous by thread: Re: Problem with webobjects - tag occurred before another tag
  • Next by thread: Re: Problem with webobjects - tag occurred before another tag
  • Index(es):
    • Date
    • Thread