[oXygen-user] Bug in Tounament.xml?
Florent Georges
Sat Oct 25 08:59:32 CDT 2008
Hi
I have intalled the new oXygen 10, and the sample XML file
schematron/iso/tournament/Tournament.xml contains:
<Type>Singles</Type>
<Date>2001-03-20</Date>
<Participants nbrParticipants="3">
<Name id="p1">Nick</Name>
<Name id="p2">Marcus</Name>
<Name id="p3">Eddie</Name>
</Participants>
<Teams nbrTeams="5">
<Team id="t1" Name="Team 1">
<Member>p1</Member>
</Team>
<Team id="t2" Name="Team 2">
<Member>p2</Member>
</Team>
<Team id="t3" Name="Team 3">
<Member>p3</Member>
</Team>
</Teams>
You can see that Teams/@nbrTeams eq 5, while there is only 3 Team
elements. This is actually caught by the associated Schematron schema,
by the assert:
../t:Participants/@nbrParticipants = ../t:Teams/@nbrTeams
Seems like a bug?
Regards,
--
Florent Georges
http://www.fgeorges.org/
More information about the oXygen-user
mailing list