[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Fixing what's broke
- From: Liam R E Quin <liam@w3.org>
- To: Pete Cordell <petexmldev@codalogic.com>
- Date: Thu, 09 Dec 2010 13:28:37 -0500
(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]