OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: And the DTD says, "I'm NOT dead yet!!"

/ "Bullard, Claude L (Len)" <clbullar@ingr.com> was heard to say:
| In other words, elements, attributes and namespaces are here to stay,
| whereas DTDs, entities and PIs are transitional, and are on the way out.

I've never understood the animosity expressed against processing
instructions. Yes, it's dumb to use them for important structural or
semantic information, but it's handy to be able to give a specific
processor a specific instruction:

  <?myprocessor myhack="yes, please"?>

What are the alternatives?

1. Structured comments?

   <!--#if myprocessor then myhack="yes, please"-->

   Shudder. No. Please. Not now, not ever.

2. Oddball namespaced elements and attributes?

   <my:processor myhack="yes, please"/> or
   <someelement myprocessor:myhack="yes, please"/>

  Those just aren't appropriate. For one thing, the document may not
  allow my oddball namespaced things at those locations.

3. Namespaced PI targets. I suppose this would be handy, but I don't
   think it's going to happen.

                                        Be seeing you,

Norman.Walsh@East.Sun.COM | The stone fell on the pitcher? Woe to the
XML Technology Center     | pitcher. The pitcher fell on the stone? Woe
Sun Microsystems, Inc.    | to the pitcher.--Rabbinic Saying