W3C home > Mailing lists > Public > public-i18n-its@w3.org > January to March 2006

[Bug 2719] Namespace requirement and selector values

From: <bugzilla@wiggum.w3.org>
Date: Fri, 27 Jan 2006 06:34:20 +0000
To: public-i18n-its@w3.org
Cc:
Message-Id: <E1F2NBc-0001lx-BC@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=2719





------- Additional Comments From fsasaki@w3.org  2006-01-27 06:34 -------
I think a solution can be in the way it is done by schematron, see
http://www.schematron.com/elements.html . Schematron has the same problem as
ITS: XPath expressions are used within a schematron document, but how should one
deal with default namespaces? The schematron solution is: have a separate <ns>
element which is used for namespace definitions for the XPath expressions, like
in the @context and @test attribute below:

<schema xmlns="http://purl.oclc.org/dsdl/schematron">
 <title>A Schematron Mini-Schema for Schematron</title>
 <ns prefix="sch" uri="http://purl.oclc.org/dsdl/schematron">
 <pattern>
   <rule context="sch:schema">
     <assert test="sch:pattern"
...
No prefix means no namespace. We have still to define how to use the <ns>
element if we have in situ ITS markup. But that would be a minor issue, I think.
Received on Friday, 27 January 2006 06:34:24 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:43:06 UTC