| From | Sent On | Attachments |
|---|---|---|
| Tim Bray | Feb 6, 2002 8:42 pm | |
| David Orchard | Feb 6, 2002 10:00 pm | |
| Jacek Kopecky | Feb 7, 2002 3:02 am | |
| Elliotte Rusty Harold | Feb 7, 2002 4:14 am | |
| Elliotte Rusty Harold | Feb 7, 2002 4:17 am | |
| Elliotte Rusty Harold | Feb 7, 2002 4:28 am | |
| Elliotte Rusty Harold | Feb 7, 2002 4:51 am | |
| Tim Bray | Feb 7, 2002 10:12 am | |
| Tim Bray | Feb 7, 2002 10:13 am | |
| Piotr Kaminski | Feb 8, 2002 4:34 am | |
| Tim Berners-Lee | Feb 12, 2002 12:03 pm | |
| Paul Prescod | Feb 12, 2002 2:21 pm | |
| Norman Walsh | Feb 12, 2002 2:29 pm | |
| Dan Connolly | Feb 12, 2002 2:33 pm | |
| Simon St.Laurent | Feb 12, 2002 3:05 pm | |
| Simon St.Laurent | Feb 12, 2002 3:46 pm | |
| Martin Duerst | Feb 12, 2002 4:00 pm | |
| Jacek Kopecky | Feb 13, 2002 4:53 am | |
| Norman Walsh | Feb 13, 2002 7:00 am | |
| Jacek Kopecky | Feb 13, 2002 7:40 am | |
| Elliotte Rusty Harold | Feb 13, 2002 8:07 am | |
| Norman Walsh | Feb 13, 2002 8:14 am | |
| Jacek Kopecky | Feb 13, 2002 10:05 am | |
| Paul Prescod | Feb 13, 2002 10:27 am | |
| MURATA Makoto | Feb 13, 2002 6:12 pm | |
| Rick Jelliffe | Feb 13, 2002 11:38 pm | |
| Norman Walsh | Feb 14, 2002 6:07 am | |
| Jun Fujisawa | Feb 16, 2002 5:44 am | |
| Tim Berners-Lee | Feb 22, 2002 7:56 am | |
| Eric van der Vlist | Feb 22, 2002 8:07 am | |
| Eric van der Vlist | Feb 23, 2002 1:23 am | |
| Piotr Kaminski | Feb 23, 2002 3:18 am | |
| Elliotte Rusty Harold | Feb 23, 2002 9:06 am | |
| Paul Prescod | Feb 23, 2002 9:31 am | |
| Eric van der Vlist | Feb 23, 2002 12:01 pm | |
| Piotr Kaminski | Feb 23, 2002 3:47 pm | |
| Elliotte Rusty Harold | Feb 23, 2002 4:26 pm | |
| Piotr Kaminski | Feb 23, 2002 5:21 pm | |
| Elliotte Rusty Harold | Feb 23, 2002 7:36 pm | |
| Tim Berners-Lee | Mar 4, 2002 11:40 am | |
| Tim Berners-Lee | Mar 4, 2002 1:14 pm | |
| Rick Jelliffe | Mar 25, 2002 7:00 am |
| Subject: | Re: PIs considered harmful Was: XML-SW, a thought experiment | |
|---|---|---|
| From: | Piotr Kaminski (pio...@ideanest.com) | |
| Date: | Feb 23, 2002 3:47:47 pm | |
| List: | org.w3.www-tag | |
Elliotte Rusty Harold wrote:
A PI can contain essentially arbitrary XML except for other PIs
That's interesting, I didn't know. However, I think my original point still stands. If you're using PIs to make DC annotations, how would you "annotate the annotations" so to speak if nested PIs are not permitted?
Eric van der Vlist suggested:
I'd add that even though current schema languages have chosen to ignore PIs and comments, there is no reason why a XML Schema language couldn't validate (ie, check that they follow certain patterns and are included at certain locations in a document) them if there was a need for such a validation.
But wouldn't that completely defeat the original point of the PIs, which was that they're "outside" the scope of validation? So what happens if I now inherit an unmodifiable schema that specifies what PIs are allowed where -- how do I add the custom new PIs necessary for my application? I think we've come full circle. :-)
My suggestion, though it's probably not practical: Specify any processing instructions in your own XML vocabulary in a separate file, linking it to the original through appropriate XPath expressions. When processing, you need to specify the original file and any additional processing instruction file(s). A smart parser could probably integrate the instructions into the primary XML stream on the fly, if desired.
Advantages: You can validate both the original document and the PI document, each to their own schema. Your PIs can take advantage of all XML features. A single document can have many sets of PIs for different purposes, even from the same namespace/vocabulary.
Disadvantages: Multiple files. Hand-editing gets ugly/impossible. Needs customized parsers to make it transparent.
-- P.
-- Piotr Kaminski <pio...@ideanest.com> http://www.ideanest.com/ "It's the heart afraid of breaking that never learns to dance."





