List Info

Thread: using namespace




using namespace
user name
2007-11-23 08:14:46
Hello,

I would like to suggest that microformats use namespace like
the
following example.

<span xmlns="http://www.w3.org/
1999/xhtml"
xmlns:mf="http://microfo
rmats.org/2007">
 <span mf:term="tel" mf:scheme="http
://microformats.org/2007/hcard.rng">
   <span mf:term="type">home</span>
   <span
mf:term="value">+1.415.555.1212</span>
 </span>
</span>

This example is just using mf:scheme and mf:term
instead of
xhtml:class or xhtml:rel.

Therefore, this example is human readable and machine
readable. And, by using
namespace and a link to schema(mf:scheme), This example is
able to be
valid by using validator and
schema(http://microfo
rmats.org/2007/hcard.rnc).

I think microformats need namespace to ensure
interoperability.

How do you think about the suggestion?

-- 
Tatsuya Noyori (^o^)/
_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss

Re: using namespace
user name
2007-11-23 08:29:28
On 23/11/2007, Tatsuya Noyori <nojoringmail.com> wrote:
> Hello,
>
> I would like to suggest that microformats use namespace
like the
> following example.
>
> <span xmlns="http://www.w3.org/
1999/xhtml"
> xmlns:mf="http://microfo
rmats.org/2007">
>  <span mf:term="tel" mf:scheme="http
://microformats.org/2007/hcard.rng">
>    <span
mf:term="type">home</span>
>    <span
mf:term="value">+1.415.555.1212</span>
>  </span>
> </span>
>
> This example is just using mf:scheme and mf:term
instead of
> xhtml:class or xhtml:rel.
>
> Therefore, this example is human readable and machine
readable. And, by using
> namespace and a link to schema(mf:scheme), This example is
able to be
> valid by using validator and
> schema(http://microfo
rmats.org/2007/hcard.rnc).
>
> I think microformats need namespace to ensure
interoperability.
>
> How do you think about the suggestion?

You might like to take a look at
http://microf
ormats.org/wiki/namespaces for some of the reasons why
we
discourage their usage.

-- 
Frances Berriman
http://fberriman.com
_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss

Re: using namespace
country flaguser name
United Kingdom
2007-11-23 08:47:49
One of the main drivers behind uf is that they build on
existing tools 
and knowledge. Using existing html markup means people can
use WYSIWYG 
tools to edit them and it also removes a small psychological
for people 
who are comfortable with html but put off by such syntax. uf
also aims 
to solve simple and common problems, like events and contact
info.

If you want more funtionality you can use things like eRDF.

Tatsuya Noyori wrote:
> Hello,
>
> I would like to suggest that microformats use namespace
like the
> following example.
>
> <span xmlns="http://www.w3.org/
1999/xhtml"
> xmlns:mf="http://microfo
rmats.org/2007">
>  <span mf:term="tel" mf:scheme="http
://microformats.org/2007/hcard.rng">
>    <span
mf:term="type">home</span>
>    <span
mf:term="value">+1.415.555.1212</span>
>  </span>
> </span>
>
> This example is just using mf:scheme and mf:term
instead of
> xhtml:class or xhtml:rel.
>
> Therefore, this example is human readable and machine
readable. And, by using
> namespace and a link to schema(mf:scheme), This example is
able to be
> valid by using validator and
> schema(http://microfo
rmats.org/2007/hcard.rnc).
>
> I think microformats need namespace to ensure
interoperability.
>
> How do you think about the suggestion?
>
>   
_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss

Re: using namespace
country flaguser name
United States
2007-11-23 09:32:26
Tatsuya Noyori wrote:

> I think microformats need namespace to ensure
interoperability.
> How do you think about the suggestion?

No, they shouldn't. Firstly, microformats are supposed to be
easy to use
and easy to parse. Introducing XML namespaces would
complicate them.

Secondly, they're supposed to use the existing semantic
facilities in
(X)HTML. Introducing namespaces will cause documents to fail
(X)HTML DTD
validation.

-- 
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.17.14-mm-desktop-9mdvsmp, up 20:27.]

                    It'll be in the Last Place You Look
              http:
//tobyinkster.co.uk/blog/2007/11/21/no2id/

_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss

Re: Re: using namespace
user name
2007-11-23 19:57:08
Thank you for your comments.

I will reconsider my suggestion. Also, I will think about
validation
of microformats to ensure interoperability.

Best regards,

-- 
Tatsuya Noyori (^o^)/
_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss

Re: using namespace
country flaguser name
United States
2007-11-25 21:30:31
Le 23 nov. 2007 à 23:14, Tatsuya Noyori a écrit :
> I would like to suggest that microformats use namespace
like the
> following example.
> I think microformats need namespace to ensure
interoperability.


You can use RDFa, that will make it possible
http://www.w3
.org/TR/xhtml-rdfa-primer/

RDFa Bookmarklet
http://www.w3.org/2001/sw/BestPractices/HTML/rdfa-
bookmarklet/

RDFa Extractor
http://torrez.us/rdfa/

RDFa Implementations
http://rdfa.in
fo/rdfa-implementations/


--
Karl Dubost - W3C
http://www.w3.org/QA/
Be Strict To Be Cool






_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss

[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )