Re: Conformance, Flag, Role/Subject
Uche Ogbuji <[email protected]> Tue, 06 Jul 2004 20:08:53 -0600
| Newsgroups | gmane.text.xml.schematron |
|---|---|
| Organization | Fourthought, Inc. |
| Message-ID | <1089166132.3586.4352.camel@borgia> |
On Mon, 2004-06-28 at 04:36, Rick Jelliffe wrote: > An implementation might also define, or have extension elements/attributes > for, or have a little-language or configuration for, a mapping > between flags and actions. For example, a flag might be > "REPAIR-ME", which the implementation uses as its key to > point the user to something that they should fix. Or a mapping > from flags to methods/functions in a particular language. > > So the purpose of "flag" is to provide a way to annotate or signal > the state of some document or particular nodes, to allow some > subsequent action. But to do this in a declarative and language-independent > way. In many cases, where people might want to put an "action" > attribute or something similar, which then calls a script or method > in some language by name, the flag attribute provides a little > abstraction. > > Now, of course, it is fine to add elements or attributes in your > own namespace for extensions, actions and so on. But it was > felt that since several people have used Schematron to extract > state information about a document and to trigger actions, > ISO Schematron should provide something small, non-required > and relatively clean. > > The more that language-dependencies (such as JavaScript scripts, > .NET methods in X++, Java methods, etc) can be removed to other > layers, the more that implementation-independent schemas can > be developed. I'll toast to that. It's always good to be reminded that Schematron is in such clear-thinking hands. If only the stewards of XSLT had been so clear-thinking they would never have unleashed the ill-fated XSLT 1.1. and then the still dubious XPath 2.0 and XSLT 2.0 on us. -- Uche Ogbuji Fourthought, Inc. http://uche.ogbuji.net http://4Suite.org http://fourthought.com A survey of XML standards - http://www-106.ibm.com/developerworks/xml/library/x-stand4/ When to use elements versus attributes - http://www-106.ibm.com/developerworks/xml/library/x-eleatt.html Introducing PyRXP - http://www.xml.com/pub/a/2004/02/11/py-xml.html XML in the financial services industry - http://www-106.ibm.com/developerworks/xml/library/x-think22.html Python Web services developer: The real world, Part 2 - http://www-106.ibm.com/developerworks/webservices/library/ws-pyth16/ Keep your XML clean - http://www.adtmag.com/article.asp?id=9012 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com