XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Fixing what's broke

(oops, I forgot to send this)

On Tue, 2010-12-07 at 09:48 +0000, Pete Cordell wrote: 
> ----- Original Message From: "Liam R E Quin"

> > The extra redundancy does seem to help -
[...] 
> So I'd suggest doing something like:
> 
> <Book:Book>
>     <Book:Author>John Grisham</>
>     <Book:Title>The Case of the Hidden Claw</>
> </Book:Book>

Maybe I wasn't clear. Suppose I now write,
<Book:Book>
    <Book:Title>John Grisham</>
    <Book:Author>The Case of the Hidden Claw</>
</Book:Book>

How are you going to detect my error?

You might be surprised at how common this is.

If you want SGML-style minimization,
<title/John Grisham/ is even terser.

Better might be some way to map reliably from a custom format to an
XML-equivalent,

<data map="foo.map">
%T John Grishm
%A John Clute
%G Biography
</data>

DSDL (I think, or DSRL or DRSL?) is/was a language from ISO to do this
sort of thing I think.

Liam


-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org www.advogato.org





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS