Do I need to use a validating parser?
Paul Prescod
paul at prescod.net
Wed May 5 00:30:13 BST 1999
"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 at ic.ac.uk
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 at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev
mailing list