[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message]

Top N Most Common Mistakes

Smith, Donald T. DonaldT.Smith at aa.com
Mon Aug 13 14:11:43 PDT 2007


  Top N Most Common Mistakes
Ron,

Curious if the schemas you are facing are mostly machine generated (that
is, from some IDE) or if they are hand-crafted. And if hand-crafted, do
they show any discernable design patterns (by which I mean XML Schema
design patterns). Do any of these issues make the schemas easier or
harder to learn?

Don

-----Original Message-----
From: http://x-query.com/mailman/listinfo/talk [mailto:http://x-query.com/mailman/listinfo/talk] On
Behalf Of http://x-query.com/mailman/listinfo/talk
Sent: Monday, August 13, 2007 1:03 PM
To: http://x-query.com/mailman/listinfo/talk
Subject: Re:  Top N Most Common Mistakes

I can't speak for others, but my own most common problems are:

1) When to use braces (practice makes this much easier)
2) When to use commas (practice doesn't seem to help)
3) The fact that typos in path expressions (foo/baz when you mean
foo/bar)
returns an empty sequence instead of an error
4) The difference between for and let (practice makes this much easier)
5) Figuring out what is insignificant white space, or whatever it's
called
6) Understanding that a sequence is (potentially) a forest, rather than
a
sequence of single values

Oddly enough, the lack of side effects hasn't proved as difficult as I
thought
it would.

And most of my real problems have to do with learning the schemas I am
working
on rather than XQuery, which so far has proven pretty easy to use,
although
I'm only up to 100-200 line programs.

-- Ron
_______________________________________________
http://x-query.com/mailman/listinfo/talk
http://x-query.com/mailman/listinfo/talk





Purchase Stylus Studio Online Today!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.