IWETHEY v. 0.3.0 | TODO
1,095 registered users | 1 active user | 1 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Anybody ever parsed a DTD?
Because I'm convinced now that the W3C has some of the most reality altering narcotics around in a big old candy dish in the front lobby.




"Whenever you find you are on the side of the majority, it is time to pause and reflect"   --Mark Twain

"The significant problems we face cannot be solved at the same level of thinking we were at when we created them."   --Albert Einstein

"This is still a dangerous world. It's a world of madmen and uncertainty and potential mental losses."   --George W. Bush
New Not in polite company.


Peter
[link|http://www.no2id.net/|Don't Let The Terrorists Win]
[link|http://www.kuro5hin.org|There is no K5 Cabal]
[link|http://guildenstern.dyndns.org|Home]
Use P2P for legitimate purposes!
New ICLRPD: Not in polite company. (new thread)
Created as new thread #236705 titled [link|/forums/render/content/show?contentid=236705|ICLRPD: Not in polite company.]
--
Steve
[link|http://www.ubuntulinux.org|Ubuntu]
New I've parsed RTF
But that was just banging a head against a wall. That's when I first started hating Microsoft.
Matthew Greet


Choose Life. Choose a job. Choose a career. Choose a family. Choose a fucking big television, choose washing machines, cars, compact disc players and electrical tin openers. Choose good health, low cholesterol, and dental insurance. Choose fixed interest mortgage repayments. Choose a starter home. Choose your friends. Choose leisurewear and matching luggage. Choose DIY and wondering who the fuck you are on a Sunday morning. Choose sitting on that couch watching mind-numbing, spirit-crushing game shows, stuffing fucking junk food into your mouth. Choose rotting away at the end of it all, pishing your last in a miserable home, nothing more than an embarrassment to the selfish, fucked up brats you spawned to replace yourself. Choose your future. Choose life... But why would I want to do a thing like that? I chose not to choose life. I chose somethin' else. And the reasons? There are no reasons. Who needs reasons when you've got heroin?
- Mark Renton, Trainspotting.
New ya gotta start somewhere :-)
Darrell Spice, Jr.                      [link|http://spiceware.org/gallery/ArtisticOverpass|Artistic Overpass]\n[link|http://www.spiceware.org/|SpiceWare] - We don't do Windows, it's too much of a chore
New I'm sorry!
I've had to deal with that, too.
--
Steve
[link|http://www.ubuntulinux.org|Ubuntu]
New Yup
More fun is trying to validate that a given XML doc conforms to the DTD, given that the DTD can have same-named nodes at different levels of different nodes. Converting this to an unambiguous data structure that can still be comprehended by a normal human is tricky.
===

Purveyor of Doc Hope's [link|http://DocHope.com|fresh-baked dog biscuits and pet treats].
[link|http://DocHope.com|http://DocHope.com]
New XML murders relational normalization thinking
The Buchanian navigationalists are trying to ressurrect themselves using XML and OOP to pull their rotting corpses from the cold, damp 1960's ground.
________________
oop.ismad.com
New Web pages aren't meant to be relational
I'm building a program to check the general level of "wrongness" of the html in a web page. The formal definition of this is a DTD from the W3C. I've got a nifty parser built that seems to successfully build a DOM out of even the most hideous html and diagnoses things like unclosed tags and such as it goes. This gets me the general structural-ness stuff.

But for things like "you can't follow a table tag with a form tag" I'll have to go to the DTD. Turning a DTD into a useful data structure in memory has proven to be bloody challenging (although I think I just cracked it a couple minutes ago).



"Whenever you find you are on the side of the majority, it is time to pause and reflect"   --Mark Twain

"The significant problems we face cannot be solved at the same level of thinking we were at when we created them."   --Albert Einstein

"This is still a dangerous world. It's a world of madmen and uncertainty and potential mental losses."   --George W. Bush
New and it shows
________________
oop.ismad.com
New DTD is an old muddled standard
W3C never went back to try and fix it, settling instead on some other xml extensions to do the trickier bits. Of course, that's always been the rub against DTD => its got its own format that has no relation whatsoever with xml, being more an ancient tongue. Anyhow, it's not too terribly involved, as there's only a finite number of variations of things that can be accomplished.
New And to make it extra fun
The html 4.01 transitional dtd at w3c - the one at the official url and all - has a syntax error, failed to terminate the first element and open a new comment brace.

How sucky is that?



"Whenever you find you are on the side of the majority, it is time to pause and reflect"   --Mark Twain

"The significant problems we face cannot be solved at the same level of thinking we were at when we created them."   --Albert Einstein

"This is still a dangerous world. It's a world of madmen and uncertainty and potential mental losses."   --George W. Bush
New Well, they did label it as Transitional...
...meaning Transitional from Bad to Worse. :-)
     Anybody ever parsed a DTD? - (tuberculosis) - (12)
         Not in polite company. -NT - (pwhysall) - (1)
             ICLRPD: Not in polite company. (new thread) - (Steve Lowe)
         I've parsed RTF - (warmachine) - (2)
             ya gotta start somewhere :-) -NT - (SpiceWare)
             I'm sorry! - (Steve Lowe)
         Yup - (drewk) - (3)
             XML murders relational normalization thinking - (tablizer) - (2)
                 Web pages aren't meant to be relational - (tuberculosis) - (1)
                     and it shows -NT - (tablizer)
         DTD is an old muddled standard - (ChrisR) - (2)
             And to make it extra fun - (tuberculosis) - (1)
                 Well, they did label it as Transitional... - (ChrisR)

Helmet of the meat!
122 ms