- From: Felix Sasaki <fsasaki@w3.org>
- Date: Fri, 09 Feb 2007 08:39:05 +0900
- To: Jirka Kosek <jirka@kosek.cz>
- Cc: public-i18n-its@w3.org
hi Jirka, Jirka Kosek wrote: > Felix Sasaki wrote: > >>>> The current schema driver adds its:rules into html.content group which >>>> means that its:rules could occur almost anywhere in XHTML file. I think >>>> that it is more reasonable to allow it only inside head. This would >>>> probably mean adding its:ruby into HeadOpts.mix group. >> I agree, but the current schemas at /MarkUp/SCHEMA/ create errors if I >> do that. I'm not sure why and would like to as the HTML WG (if you or >> somebody else here doesn't know the answer). > > Hi Felix, the following works for me: > > <xs:redefine > schemaLocation="http://www.w3.org/MarkUp/SCHEMA/xhtml-basic10.xsd"> > <xs:group name="HeadOpts.mix"> > <xs:choice> > <xs:group ref="HeadOpts.mix"/> > <xs:element ref="its:rules"/> > </xs:choice> > </xs:group> > > <xs:attributeGroup name="Common.attrib"> > <xs:attributeGroup ref="Common.attrib"/> > <xs:attributeGroup ref="its:its.ITSLocal.attlist"/> > </xs:attributeGroup> > </xs:redefine> > > Great, thanks for checking this much more carefully than me :). I have changed the files accordingly, please have a look at http://www.w3.org/International/its/techniques/its-module.xsd http://www.w3.org/International/its/techniques/xhtml-plus-its.xsd http://www.w3.org/International/its/techniques/xhtml-plus-its-instance.xml I also updated http://www.w3.org/International/its/techniques/its-techniques.html#integration-its-xhtmlmod with the new code. Regards, Felix
Received on Thursday, 8 February 2007 23:39:23 UTC