stargeek
PHP news website logo.
home    PHP scripts    articles    seo tools    links    search    contact    shop    realtors


XML Boulevard Lesson 11 - Well-formed XML Part 4: Attributes (Continued)







XML Boulevard Lesson 11 - Well-formed
XML Part 4: Attributes (Continued)

XML Boulevard Lesson 11 - Well-formed
XML Part 4: Attributes (Continued)
01/01/2005 04:31 AM




This is a GrokNews Entry: (what is grok?)





Similar Items

XML Boulevard Lesson 11 - Well-formed XML Part 4: Attributes (Continued)

Grok Headline matches for XML Boulevard Lesson 11 - Well-formed XML Part 4: Attributes (Continued)

XML Boulevard Lesson 12 - Well-formed
XML Part 5: Attributes (Continued)


XML Boulevard Lesson 12 - Well-formed
XML Part 5: Attributes (Continued)
01/22/2004 02:02 PM

XML Boulevard Lesson 14 - Well-formed
XML Part 7: Nonvalidating Parsers
(Continued)


XML Boulevard Lesson 14 - Well-formed
XML Part 7: Nonvalidating Parsers
(Continued)
06/11/2004 01:53 AM

XML Boulevard Lesson 13 - Well-formed
XML Part 6: Nonvalidating Parsers


XML Boulevard Lesson 13 - Well-formed
XML Part 6: Nonvalidating Parsers
07/06/2004 05:06 AM

XML Boulevard Lesson 18 - !DOCTYPE
statements (continued)


XML Boulevard Lesson 18 - !DOCTYPE
statements (continued)
09/12/2004 02:17 PM

XML Boulevard Lesson 19 - XML The
Microsoft Way


XML Boulevard Lesson 19 - XML The
Microsoft Way
09/13/2004 04:37 PM

XML Boulevard: Lesson 5 - XML languages


XML Boulevard: Lesson 5 - XML languages 04/16/2005 09:10 PM

XML Boulevard: Lesson 2 - XML vs. HTML


XML Boulevard: Lesson 2 - XML vs. HTML 09/09/2004 09:54 PM

XML Boulevard: Lesson 4 - DTDs


XML Boulevard: Lesson 4 - DTDs 09/12/2004 11:18 PM

XML Boulevard Lesson 21 - XML A
Beginner's Guide


XML Boulevard Lesson 21 - XML A
Beginner's Guide
08/20/2004 12:22 PM

XML Boulevard Lesson 15 - Valid XML,
DTDs and schemas


XML Boulevard Lesson 15 - Valid XML,
DTDs and schemas
07/18/2004 12:49 AM

XML Basics Part III: An Example of
Well-Formed and Valid XML


XML Basics Part III: An Example of
Well-Formed and Valid XML
02/10/2004 07:55 PM
Internet.com Feb 11 2004 0:18AM GMT

FeedDemon and well-formed Atom feeds,
Part II


FeedDemon and well-formed Atom feeds,
Part II
01/16/2004 01:04 PM

Last night I stated my position on well-formed Atom feeds, but I'm not sure I did a good job of explaining myself.

The point here isn't that I'm trying to save myself time by requiring well-formed Atom feeds - I've already written a forgiving RSS parser which could easily be adapted to handle Atom, so this will actually take me more development time. And while I agree 100% with the position that users don't care about well-formed XML, the point is that parsing malformed feeds will require users to care later on.

With both HomeSite and TopStyle, I've seen first-hand the problems that customers deal with due to the way different browsers handle HTML and CSS. If you're a web author, no doubt you've wasted countless hours trying to get your pages to look right in multiple browsers. Instead of pulling your hair out over cross-browser inconsistencies, wouldn't you rather have spent your time creating a great site?

So it is with Atom. If you have a blog (and if you don't, chances are you will in the next year or two), your focus is on writing interesting content. Now, what would you do if your newsfeed didn't work right in different aggregators? Perhaps one aggregator showed the right content, but your spacing is all screwed up. Or another got your spacing right, but has HTML entities such as & and < spewed all over the place. And another aggregator shows your post just fine, but the link to your site doesn't work. This sort of thing already happens with RSS, and it's frustrating to blog readers and writers alike.

Would you really want to devote time to tracking down these problems? Web authors have to deal with this situation today, and it's a royal pain (in fact, I created TopStyle to help web authors solve these problems). Wouldn't it be nice if bloggers didn't have to face these same issues down the road?

Now, keep in mind that the vast majority of Atom feeds will be produced by blogging tools rather than hand-coded. By requiring well-formed Atom feeds, FeedDemon and NetNewsWire give the blogging tool creators a very strong incentive to create well-formed feeds - they don't want to deal with customer complaints about their feeds not working in aggregators. By taking this position now - when Atom is in its infancy - we can avoid the problems that have plagued web authoring, and enable both content creators and end users to focus on great writing.

BTW, for some reason I'm getting a lot of email about this topic, whereas only a few have commented here in this blog. If you have an opinion on this subject, please don't send it by email - share it here so that others can benefit from it.


ATTRIBUTES CONTEXT MENU (free): Adds a
context menu to all files and folders to
quickly modify their system attributes


ATTRIBUTES CONTEXT MENU (free): Adds a
context menu to all files and folders to
quickly modify their system attributes
10/28/2003 11:06 PM

"Boulevard Saint Michel"


"Boulevard Saint Michel" 06/12/2004 10:08 PM

.NET attributes are more than decoration


.NET attributes are more than decoration 07/05/2002 10:59 PM
CNET Jul 5 2002 10:12PM ET

We need control over attributes


We need control over attributes 02/10/2004 01:18 PM

SourceID/Pi ngID Rollout Expectations. There are four milestones in the upcoming weeks which I wanted to keep everyone appraised of. In the late April/early May timeframe, SourceID and PingID intend to deliver: 1. Version 1.0 Final of SourceID-SSO, with 100% coverage of the Liberty... [SourceID - Discussion]

I'm lookiong forward to a version of SourceID that supports controlling individual attributes of end-user's profiles.  This is crucial.


Better File Attributes v1.1


Better File Attributes v1.1 04/21/2004 07:36 AM
Better File Attributes is Windows Explorer enhancement that allows file dates to be changed at will. It can manipulate entire file hierarchies. [Shareware $9.95 1 MB]

Image Attributes


Image Attributes 06/05/2005 10:46 PM
Questioning width and height values for images.

Experimental attributes


Experimental attributes 02/10/2004 02:49 AM
There have been a number of thoughtful responses to my confessio n, the other day, about cheating on Web standards. Several folks recommended this approach:
<blockquote 
   cite="http://www.betaversion.org/~stefano/linotype/news/35/"
   title="Stefano Mazzocchi">
...
</blockquote>
Jim White also made this intriguing proposal:
<blockquote cite="urn:name:Stefano%20Mazzocchi">
..
</blockquote>
Jim pointed me to the IANA registry of URN namespaces, noting that while 'name' is not among those registered namespaces, and the one you can find there -- RFC3043, Personal Internet Name (PIN): A URN Namespace for People and Organizations -- isn't quite right either, these are examples of valid ways to extend an attribute that takes a URI as its value. ...

Safety Attributes


Safety Attributes 04/09/2004 05:30 PM

I am not sure if this particular long term solution to cross-site scripting (XSS) has been discussed yet, but I thought it is worth a mention since I thought of it.  Yes, I have an ego that wants to be polished daily. :-)

The idea is to introduce 'safety' attributes to HTML and XHTML that allows web developers to disable dangerous DHTML features like scripting within elements that contains content from users.  For example:

<div class='.comment' safety='noscript,nostyle'>
comment entered by visitors
</div>

Fine-grained safety settings will allow some scripting features to continue working while disabling others.


Show your attributes!


Show your attributes! 05/25/2002 08:32 PM

Giant Sinkhole Devours Florida Boulevard
(AP)


Giant Sinkhole Devours Florida Boulevard
(AP)
12/19/2004 03:22 PM
AP - A sinkhole opened beneath a road in central Florida on Saturday, swallowing four lanes of pavement and forcing the evacuation of 20 homes.

Multivalued CSS class attributes


Multivalued CSS class attributes 02/10/2004 02:49 AM
A reader named Jemisa wrote last week with this proposal:
Just another proposition for
<pre class="code" lang="python">
...
</pre>
Why not use
<pre class="code python">
...
</pre>
I know it's less "semantic" than your experimental attribute, but it might be useful (to style python code with different color than perl code for example)
This is a great idea which I at first completely failed to understand. My objections were twofold. On the CSS front, that you'd want to be able to style 'code' things independently of 'python' things. And on the XPath search front, that you'd want to be able to search independently. ...

XAML Extended Attributes


XAML Extended Attributes 12/02/2003 01:55 AM
This is the one where Chris Sell's XAML example triggers two completely different trains of thought ...

HTML Tip: Using ALT And TITLE Attributes


HTML Tip: Using ALT And TITLE Attributes 01/10/2003 04:46 AM
Net Mechanic Jan 10 2003 3:29AM ET

Update: A Better Finder Attributes 3.5


Update: A Better Finder Attributes 3.5 07/22/2004 09:39 AM
The Finder file attribute utility can now use EXIF data to set the creation dates of digital camera picture files to the time and date that the picture was taken.

A Better Finder ATTRIBUTES — now with
Cocoa!!


A Better Finder ATTRIBUTES — now with
Cocoa!!
03/13/2003 10:17 AM
Publicspace.net has announce versioned 3.0 beta 1 of its "A Better Finder Attributes" Macintosh Finder enhancement. This is the first version of the popular Finder file attribute manipulation utility for Mac OS X and it has been rewritten from scratch to take full advantage of Mac OS X's powerful Cocoa programming interface.

Option-Shift K Apple Hacker Swag!

On a Boulevard Of Destruction, The Smell
of Sea And Swift Death
(washingtonpost.com)


On a Boulevard Of Destruction, The Smell
of Sea And Swift Death
(washingtonpost.com)
12/29/2004 01:41 AM
washingtonpost.com - BANDA ACEH, Indonesia, Dec. 28 -- Bodies, stomachs bloated and arms outstretched, scores of them, lay along the downtown boulevard where they finally came to rest after the waters caught them.

Is my webl0g well formed?


Is my webl0g well formed? 01/16/2004 11:27 AM
Can I ever be sure? ...

Ill-formed NOAA


Ill-formed NOAA 12/17/2004 06:34 PM
Jacques Distler: A recent Wired article to the effect that the National Weather Service is now offering their data in XML format got me intrigued enough to want to test out the service. Double encoded, ill-formed weather forecasts, via POST. For those who don't have SOAP::Lite installed, here's a LWP version.

Changing File and Folder Attributes


Changing File and Folder Attributes 05/19/2004 02:44 AM

First Guantanamo tribunal formed


First Guantanamo tribunal formed 06/29/2004 03:26 PM
The US appoints a five-member military tribunal to try terror suspects held at Guantanamo Bay.

Ohio Museum Attributes a Purchase to
Praxiteles


Ohio Museum Attributes a Purchase to
Praxiteles
06/22/2004 11:04 AM
If the Cleveland Museum of Art's sculpture of Apollo the Lizard Slayer is authentic, it will be one of the most important ancient bronzes in an American museum.

Linux Defense Fund Formed


Linux Defense Fund Formed 01/16/2004 01:00 PM
Three cheers for Intel, IBM and several other companies that have made substantial contributions to the newly created Linux Legal Defense Fund to help fight off the bullies from SCO.

Alliance Formed to Finger Hackers


Alliance Formed to Finger Hackers 03/28/2005 03:46 PM
Internet News Mar 28 2005 7:22PM GMT

Sam Ruby on syndication and XML
well-formed-ness


Sam Ruby on syndication and XML
well-formed-ness
01/16/2004 01:01 PM
Sam Ruby: Is my weblog well-formed?

(I’d quote a standout line or two from this, but there’s no way to decide—I’d end up quoting the whole thing. So just go read it.)

New Government Is Formed in Iraq as
Attacks Go On


New Government Is Formed in Iraq as
Attacks Go On
06/01/2004 11:19 PM
With bombs and mortar shells exploding outside, a new Iraqi government stepped forward to guide the country toward democratic elections.

FeedDemon and well-formed Atom feeds


FeedDemon and well-formed Atom feeds 01/16/2004 01:04 PM

NetNewsWire creator Brent Simmons recently announced that NetNewsWire's future support for Atom will require Atom feeds to be well-formed. Some people aren't too happy about this, claiming that he's applying a double standard that will make Atom appear less useful than RSS.

So, I'll add to the stink by stating that my plan is the same as Brent's. FeedDemon will also support Atom, but if an Atom feed isn't well-formed XML, FeedDemon will display an error rather than try to parse it. In fairness I have to consider this decision open to input from my customers, but I want to explain why I believe this is important.

When I started coding FeedDemon, I immediately ran into an ugly problem: a huge number of RSS feeds are invalid. This made it impossible to use an off-the-shelf validating XML parser, since it would choke on so many existing feeds. A number of very popular RSS feeds are shockingly invalid, and I couldn't expect FeedDemon to compete in the RSS aggregator market if it couldn't handle them. So, I coded my own XML parser, and made it extremely forgiving of problematic feeds.

Atom, however, is a new format, and there's a chance we can get it right. Rather than wasting our time working around validation issues, aggregator authors such as myself can spend our time coding the features our users really want. This isn't just self-serving on my part: it will make it easier for anyone who wants to consume Atom feeds if they can expect them to at least be well-formed. It's not like well-formed XML is hard to do - Tim Bray has listed the four "Bozo Factor" rules that are required, and I have to think that anyone who can spell "XML" can follow these rules.

If both NetNewsWire and FeedDemon require well-formed Atom feeds, then perhaps we've provided authors of Atom feeds enough incentive to spit out valid XML instead of the tag soup that has infected too many RSS feeds.

Note: Be sure to read par t II of this topic.


ABCNEWS.com : Poll: Kerry Weakens on
Issues, Attributes


ABCNEWS.com : Poll: Kerry Weakens on
Issues, Attributes
07/27/2004 04:08 PM
"High stakes convention." .. Kerry drops in polls .. These poll numbers

abcnews.go.com/sections/politics/Vote2004/kerry_poll_040726. html
track this site | 5 links


Grok Description matches for XML Boulevard Lesson 11 - Well-formed XML Part 4: Attributes (Continued)
GrokA matches for XML Boulevard Lesson 11 - Well-formed XML Part 4: Attributes (Continued)

XML Boulevard Lesson 11 - Well-formed XML Part 4: Attributes (Continued)

The following phrases have been identified by the grok system as matching this entry:

















Also check out:


Grok

Ipod Porn on the
Rise

Brief Abstract of
Wikipedia's
Mesothelioma Cancer
page

Get first aid
instructions in your
cell phone

IE is crap
JSPWiki gains
podcasting support

tsunamihelpneeded
Google News coverage
new official memo
PCWorld.com - Risk
Your PC's Health for
a Song?

Banished Words List
:: 2005

43 Folders: A Year
of Getting Things
Done: Part 1, The
Good Stuff

Darth Vader/Weirdo
Complexification
Gallery of
Computation

CES Gaming Preview:
Xbox 2 and PSP
Mysteries, and
Portable Gaming

Preshrunk: a blog
for cool t-shirts

Smart Car-to-Car
Navigation Network
in Japan

Dilbert for 01 Jan
2005

U.S. Vows Big
Increase in Aid for
Victims of Asian
Disaster

Electro Energy
Receives Approval
For NASDAQ Smallcap
Market Listing

Reach Online®
Announces Hipicture®
Online Photo
Composition Site

OE-Mail Recovery Has
Been Released

Google Search Engine
Will Strengthen
Palmsquare.com In
2005

DomainNesteggs.com
Ties Emerging
Technologies to the
Internet

Pension agency to
take on United funds
Mirant CEO Fuller to
leave bankrupt co.
U.S. company
acquires

Internet sites allow
gift card exchanges
Nebraska corporate
farm ban challenged
United workers threa

Wall Street watching
for market shift FDA
approves Pfizer drug
for diabetes GE
completes global
outs

More Than Seven
Words You Can't
Say...

Why cant I free your
doubtful mind and
melt your cold, cold
heart

Smallware
Year of the
Enterprise Wiki

Médecins Sans
Frontières
International
Homepage

New York Daily News
- Home - Wiener
wagon a hotbed of
sin, cops say

USAID: Earthquake
and Tsunami Relief

20 Amazing Facts
about Voting in the
USA

Save the Children:
Asia Earthquake
Crisis

New Year's Eve QTVR
panos from around
the world

Fire, Panic and a
Locked Main Exit
(washingtonpost.com)

Tsunami Aid Pours in
But Airports Prove
Bottlenecks
(Reuters)

New Year, New
Gadgets, And Maybe
New Rules
(washingtonpost.com)

4th Annual Assclown
Award Winner
Announced

Internet-based
doctor directory
ranks in top 10

Internet Mobilizes
To Aid Tsunami
Victims

Aid Begins to Reach
Aceh Homeless on
Bleak New Year

U.S. Top Judge
Concerned About
Criticism of Judges

Americans are giving
generously, mainly
via the internet

Italy's Berlusconi
in tripod attack
(Reuters)

War words top
useless terms list
(Reuters)

Anne nearly clouted
kidnapper (Reuters)

Happy New Year 2005!
Miami Tops Fla.,
27-10, to Win Peach
Bowl (AP)

Rule May Let Workers
Keep Health Coverage
(AP)

Fireworks Spark
Blaze in Buenos
Aires Nightclub,
Killing 175

Relief Delivery Lags
as Deaths Pass
140,000

RPGD 2.1
s11n 1.0.0
what is grok?