[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Do I need to use a validating parser?

  • From: Paul Prescod <paul@p...>
  • To: "XML Developers' List" <xml-dev@i...>
  • Date: Tue, 04 May 1999 15:17:30 -0500

python validating parser
"Joshua E. Smith" wrote:
> 
> My language doesn't use constructs like "if-then" or "for-next" so the user
> wouldn't be exposed to any nasty parse trees anyway; but even if it did, I
> don't know that
> 
> <for var="i" from="0" to="100">
>   stuff
> </for>

A couple of questions: How much syntax does a variable refrence take? What
does a function call look like? I'm trying to determine how much you are
actually building on the XML parser and how much you intend to do
yourself.

> I'm assuming that most programmers will not
> actually write in the markup language, but rather will use editors which
> produce markup as their output.  If you think about it, that's what's
> already happening with tools like Access or Delphi (users work in an
> editor, and for the most part, don't touch the code).

I don't think that Access dialog building is programming. Real
programmers, developing their own algorithms and interfaces will likely
find any non-textual programming user interface to be an impediment.
Delphi and Visual Basic have pretty decent text editors built in -- for a
reason.

I encourage you to design the user interface before focusing on the syntax
of your markup language. If people like the user interface then the
behind-the-scenes XML issues will be comparatively trivial. But if
programmers hate the user interface then the XML part will become
irrelevant.

My experience is that XML editors are optimized for prose documents and
are poor for most other stuff. They aren't ideal user interfaces for
databases, programming languages, schemas etc.

-- 
 Paul Prescod  - ISOGEN Consulting Engineer speaking for only himself
 http://itrc.uwaterloo.ca/~papresco

The first three Noble Truths of Python:
  All that is not Python is suffering.
  The origin of suffering lies in the use of not-Python.
  The cessation of suffering can be achieved by not using not-Python.
http://www.pauahtun.org/4nobletruthsofpython.html

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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-2013 All Rights Reserved.