[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: The triples datamodel -- was Re: Semantic Web pe
Alaric B Snell scripsit: > So, who's up for defining a generic toolkit for expressing how > applications should handle unknown elements (and attributes? Or can we > assume that *all* unknown attributes are ignorable?) I'd say that's realistic. Most XML APIs present attributes in a bag, such that it's easiest to find the ones you understand and ignore the rest. > <element ext:ifUnknown="ignore" ext:dependsOn="...list of IDs..."> > ... > </element> I'd say that ifUnknown needs three values: "ignore", "fail", and "continue", where the third means to process the children of this element as if they were children of its parent (the way HTML browsers work). In the nature of things, these can only be advisory, of course. I'm not sure what dependency means in this context. -- John Cowan <jcowan@r...> http://www.ccil.org/~cowan "One time I called in to the central system and started working on a big thick 'sed' and 'awk' heavy duty data bashing script. One of the geologists came by, looked over my shoulder and said 'Oh, that happens to me too. Try hanging up and phoning in again.'" --Beverly Erlebacher
|
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
|