SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Wizard jax502's Avatar
    Join Date
    Jul 2003
    Location
    Jacksonville, FL
    Posts
    1,031
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Post Firebird isn't that strict too!

    I just found out that Firebird isn't that strict too!
    My code looked like this and it still worked (notice <p class="content" is not closed with ">")

    <p class="content"<img class="companylogo" src="images/JTMiller.gif" width="138" height="162" alt="JT MIller Logo" />
    Information goes here.Information goes here.Information goes here.Information goes here.
    Information goes here.Information goes here.Information goes here.Information goes here.
    Information goes here.Information goes here.Information goes here.Information goes here.
    Information goes here.Information goes here.Information goes here.Information goes here.
    Information goes here.Information goes here.Information goes here.Information goes here.
    Information goes here.Information goes here.Information goes here.Information goes here.
    Information goes here.Information goes here.Information goes here.Information goes here.
    Information goes here.Information goes here.Information goes here.Information goes here.</p>

    But IE caught the error and won't display the image because notice that <p> didn't have a closing ">"

    Firebird is still my all time favorite browser though...now that's true love I guess...hehehehe.
    jax502

  2. #2
    Robert Wellock silver trophybronze trophy xhtmlcoder's Avatar
    Join Date
    Apr 2002
    Location
    A Maze of Twisty Little Passages
    Posts
    6,316
    Mentioned
    60 Post(s)
    Tagged
    0 Thread(s)
    Have you ever tried serving XHTML as an Application of XML like I do on my sites and you'll find Firebird is very strict else you get "Yellow Screen of Death" for such lax syntax.

  3. #3
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by xhtmlcoder
    Have you ever tried serving XHTML as an Application of XML like I do on my sites and you'll find Firebird is very strict else you get "Yellow Screen of Death" for such lax syntax.
    I learned the hard way after building an ill-formed XSL stylesheet .

  4. #4
    Robert Wellock silver trophybronze trophy xhtmlcoder's Avatar
    Join Date
    Apr 2002
    Location
    A Maze of Twisty Little Passages
    Posts
    6,316
    Mentioned
    60 Post(s)
    Tagged
    0 Thread(s)
    Well, in my beck directory it has over 192 live XHTML Basic 1.0 files, one notepad typo and bang!

    XML Processors are good but Opera's is much more forgiving.

  5. #5
    gingham dress, army boots... silver trophy redux's Avatar
    Join Date
    Apr 2002
    Location
    Salford / Manchester / UK
    Posts
    4,838
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    as xhtmlcoder already mentioned, firebird does its best at rendering tagsoup when it's being served html...just the same way that other browsers try to gracefully recover from crappy malformed html. the fact that IE does not render it doesn't mean anything, apart from the fact that IE's "best guess" when finding malformed html is different from Firebird's. actually, faced with that code, firebird did quite a good job.

    yeh, serve it with a xml mime type and se...nothing
    re·dux (adj.): brought back; returned. used postpositively
    [latin : re-, re- + dux, leader; see duke.]
    WaSP Accessibility Task Force Member
    splintered.co.uk | photographia.co.uk | redux.deviantart.com


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •