Triangles example in BeCSS

I think the following example in section 3.3 of BeCSS is unclear:

Assuming the above file was called triangles.xml, these bindings could 
be bound to elements using CSS like so:

@namespace triangles url(http://triangles.example.com/);
triangles|isoceles { binding: url(triangles.xml#isoceles); }
triangles|rightangle { binding: url(triangles.xml#rightangle); }


In particular I think some people are going to read this as meaning the 
namespace URL is somehow used to locate the file containing the binding 
definition. It's not clear to me why a namespace is used here, but if 
you're going to use one at all something like this might be clearer:

@namespace t url(http://namespaces.example.com/);
t|isoceles { binding: url(triangles.xml#isoceles); }
t|rightangle { binding: url(triangles.xml#rightangle); }


-- 
Elliotte Rusty Harold  elharo@metalab.unc.edu
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/

Received on Wednesday, 14 February 2007 15:13:46 UTC