Re: On the order of test and edit elements in a match

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 15, 2013 at 9:44 AM, Raimund Steger <rs@xxxxxxxx> wrote:
Why not...
Since interleaved <test> and <edit> were previously not even allowed by the DTD, it shouldn't have any real impact on existing configs. OK it was tolerated by fontconfig but I can't imagine this was exploited by anyone...

That should be a bug if one expected it. so that should be no problem.

FWIW currently fonts.dtd says:

 <!ELEMENT match (test*, edit*)>

just wonder how useful marking "edit" as zero-or-more state is? it doesn't take any effects. we can simply ignore it. so shouldn't it be:

 <!ELEMENT match (test*, edit+)>

and for this proposal:

 <!ELEMENT match (test*, edit+)+>

any comments?



Raimund


--
Worringer Str 31 Duesseldorf 40211 DE  home: <rs@xxxxxxxx>
+49-179-2981632 icq 16845346           work: <rs@xxxxxxxxxxxxxxx>

_______________________________________________
Fontconfig mailing list
Fontconfig@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/fontconfig



--
Akira TAGOH
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux