This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 2926 - RELAX NG schemas can de ambiguous
Summary: RELAX NG schemas can de ambiguous
Status: CLOSED FIXED
Alias: None
Product: ITS
Classification: Unclassified
Component: ITS tagset (show other bugs)
Version: WorkingDraft
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Felix Sasaki
QA Contact: Felix Sasaki
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-23 13:22 UTC by Eric van der Vlist
Modified: 2006-07-24 10:00 UTC (History)
0 users

See Also:


Attachments

Description Eric van der Vlist 2006-02-23 13:22:57 UTC
I think that you need to say something about ambiguous RELAX NG schema that
could lead to conflicting rules, such as for instance:

<choice>
<element name="p">
 <its:schemaRule its:translate="yes"/> ...
</element>
<element name="p">
 <its:schemaRule its:translate="no"/> ...
</element>
</choice>

Of course, this is a simplistic example and in practice, ambiguous schemas can
be much more complex to detect and rewrite.

Eric
Comment 1 Felix Sasaki 2006-02-23 13:43:46 UTC
(In reply to comment #0)
> I think that you need to say something about ambiguous RELAX NG schema that
> could lead to conflicting rules, such as for instance:
> 
> <choice>
> <element name="p">
>  <its:schemaRule its:translate="yes"/> ...
> </element>
> <element name="p">
>  <its:schemaRule its:translate="no"/> ...
> </element>
> </choice>
> 
> Of course, this is a simplistic example and in practice, ambiguous schemas can
> be much more complex to detect and rewrite.
> 
> Eric
yes, we need to do say s.t. about that. Actually we have not addressed
processing of schemaRule elements at all so far (e.g. how about <p> declared as
part of <text> versus <p> declared as part of <footnote>? Who is responsible for
finding out which <p> is meant? Do we mandate a schema processor for this? This
question arises even without ambiguity.
I don't know an answer yet, though.
Comment 2 Felix Sasaki 2006-03-22 11:13:40 UTC
We gave up the schemaRule element, so this bug can be closed.
Comment 3 Felix Sasaki 2006-07-24 10:00:20 UTC
Closed, no further action necessary.