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

magic competition (was Re: annotations outside validation)


magic competition
Simon,

I like where you are going with that! Lets have an XML Magic
competition!

The problem: How to add stuff into the XML instance (be it linking info,
super whitespace handling rules, extra encoding information, XML profile info
etc.) with the following provisos:

         A solution that can grow as we find more things we missed
         Don't break existing systems
         Make the new stuff easily round-trippable
         No need to write custom parsers for the new stuff
         Don't make life harder for app developers who don't give a rats
         posterior about the new stuff.

Here is my entry to that competition:

A PI named in the xml namespace called swftpi = Stuff We Forgot To Put In

Used like this:

         <?xml:swftpi stuff="{xml version="1.0" 
encoding="UTF-8"}{foo}{bar}Hello World{/baz}{/foo}"?>
         <foo>
         </foo>


Take the swftpi PI target, replace {} delimiters with <> and you have a
second WF xml instance into which we can slide any stuff we like.

Am I serious? Maybe...just maybe...

Sean

At 09:09 13/11/2001 -0500, you wrote:
>All this discussion of IDs is making me wonder if maybe it isn't time to
>consider creating a class of attributes which aren't considered for
>validation of any kind, DTD or schema.
>
>Recipe:
>
>Make a magic namespace and fix a prefix for it.  (Maybe xmlm for XML
>magic.)
>
>Tell validators not to touch anything in that namespace.
>
>Sprinkle as desired.
>
>
>Yeah, I know it's a stupid idea, fraught with all kinds of dangerous
>consequences, incompatibilities, and other difficult issues.
>
>On the other hand, we seem to constantly get stuck on all kinds of
>issues as we move into discussions where additional post-validation
>information is necessary, and we seem to just go around that in circles.
>
>--
>Simon St.Laurent
>"Every day, in every way, I'm getting better and better." - Emile Coue
>
>
>-----------------------------------------------------------------
>The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
>initiative of OASIS <http://www.oasis-open.org>
>
>The list archives are at http://lists.xml.org/archives/xml-dev/
>
>To subscribe or unsubscribe from this list use the subscription
>manager: <http://lists.xml.org/ob/adm.pl>

http://www.propylon.com



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.