Re: [xml-dev] HTML5 and almost no namespaces

From
Andrew Welch <>
To
John Cowan <>
Date
2011-06-02T16:23:30Z
ID
<>
Thread
Re: [xml-dev] HTML5 and almost no namespaces
> But are the meanings really different?  A name is a name.  Here's a
> better example:
>
> <book>
>  <title>Mary Barton</title>
>  <author>
>    <nameProfile>
>      <purpose>legal</purpose>
>      <givenName>Elizabeth</givenName>
>      <familyName>Gaskell</familyName>
>    </nameProfile>
>    <nameProfile>
>      <purpose>authorial</purpose>
>      <title>Mrs.</title>
>      <familyName>Gaskell</familyName>
>    </nameProfile>
>  </author>
> </book>
>
> Here there is genuine ambiguity between the title of a book and the
> title of a person.  The name profile schema I mentioned in my last
> post uses "prefix" instead.  But even if it didn't, the context would
> disambiguate between book/title and nameProfile/title.

This thread seems to be heading towards the nasty style of markup like:

<book>
  <book-title>...</
  <book-author>
    <book-author-name>
      ...



-- 
Andrew Welch
http://andrewjwelch.com