CSS3 namespaces not working as described in documentation
Posted: Sun Jan 20, 2008 8:31 pm
I'm having some issues getting CSS3 namespace selectors working in Author mode.
These are all equivalent and work as described in "Supported Features from CSS Level 3":
@namespace oxy 'http://www.oxygenxml.com/extensions/author';
@namespace oxy "http://www.oxygenxml.com/extensions/author";
@namespace oxy url(http://www.oxygenxml.com/extensions/author);
@namespace oxy url('http://www.oxygenxml.com/extensions/author');
@namespace oxy url("http://www.oxygenxml.com/extensions/author");
These do not work:
@namespace oxy 'http://www.oxygenxml.com/extensions/authorx';
@namespace oasis 'http://www.oasis-open.org/specs/tm9901.html';
Why does the URL matter? I was under the impression that it simply had to be a unique string. Are other namespaces even supported?
How do I know what the correct URL is for, say, the 'oasis' namespace?
For now, I seem to be able to get along with the "*|element" selector, but I have not been able to get a specific namespace to work, for instance: "oasis|table". Is this supported (aside from the 'oxy' namespace)?
These are all equivalent and work as described in "Supported Features from CSS Level 3":
@namespace oxy 'http://www.oxygenxml.com/extensions/author';
@namespace oxy "http://www.oxygenxml.com/extensions/author";
@namespace oxy url(http://www.oxygenxml.com/extensions/author);
@namespace oxy url('http://www.oxygenxml.com/extensions/author');
@namespace oxy url("http://www.oxygenxml.com/extensions/author");
These do not work:
@namespace oxy 'http://www.oxygenxml.com/extensions/authorx';
@namespace oasis 'http://www.oasis-open.org/specs/tm9901.html';
Why does the URL matter? I was under the impression that it simply had to be a unique string. Are other namespaces even supported?
How do I know what the correct URL is for, say, the 'oasis' namespace?
For now, I seem to be able to get along with the "*|element" selector, but I have not been able to get a specific namespace to work, for instance: "oasis|table". Is this supported (aside from the 'oxy' namespace)?