[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Random Access XML
rjelliffe scripsit: > 1) For a start, we need to be able to know whether "<" "</" and ">" are > tag delimiters without knowing context. So we must ban direct use of "<" > and ">" in attributes and also get rid of CDATA sections. We should get > rid of comments and PIs too, for the same reasons. (Actually, we only > need to ban comments and PIs from after the first start tag. For other > reasons, we might like to treat the first start-tag and before it > specially.) Of course, random < is already banned everywhere, so if you ban > in character content as well as attribute values, you get full reversibility: each of <, </, <?, <!--, >, />, and --> is guaranteed to be the open or close delimiter of a markup construct. MicroXML already bans > in character content so that it doesn't have to special-case ]]>, as required for full XML compatibility. The only reason it doesn't ban > in attribute values is that they are required for compatibility with Canonical XML. > 3) The generic identifier would have to be more like an XPath. This could be achieved by convention, using a legal but rarely employed delimiter like U+00B7 MIDDLE DOT, or any of the vast number of delimiters allowed by XML 1.0 Fifth Edition. -- At the end of the Metatarsal Age, the dinosaurs John Cowan abruptly vanished. The theory that a single cowan@ccil.org catastrophic event may have been responsible http://www.ccil.org/~cowan has been strengthened by the recent discovery of a worldwide layer of whipped cream marking the Creosote-Tutelary boundary. --Science Made Stupid
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|