[
Lists Home |
Date Index |
Thread Index
]
- From: Wayne Steele <xmlmaster@hotmail.com>
- To: xml-dev@lists.xml.org
- Date: Wed, 26 Jul 2000 19:39:37 -0700 (PDT)
>From: Rick JELLIFFE <ricko@geotempo.com>
>...
>The mania against DTDs has made developers disinclined to provide proper
>notation handling in XML systems. This is how it could work with DTDs :
>
><!NOTATION non-empty SYSTEM "javascript:currentNode.value.length() > 0;
>">
><!ATTLIST session
> type NOTATION (non-empty) "non-empty" >
>
>but then you need
>1) a simple dispatcher to check the current node against notation, as
>part of validation.
>2) a javascript interpreter (or whatever).
>
Rick, this is a really cool use of Notations.
I think the resistance is not so much Anti-DTD prejudice, but lack of tools,
and education.
The only thing anyone ever told me Notations were for has to do with
external unparsed entities - and even then I didn't have any tools for doing
it.
Dr. Goldfarb's paper on how to do Datatypes with XML using DTDs and
Notations really opened my eyes about them.
-Wayne Steele
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
|