RuleWorld / bionetgen

Rule-based modeling framework
https://bionetgen.org/
MIT License
56 stars 25 forks source link

BUG: Using "<" in PatternQuantifier results in invalid XML #234

Open cjarmstrong97 opened 2 years ago

cjarmstrong97 commented 2 years ago

For example,

begin observables
    Molecules  Rfree    R(l,l)
    Molecules  Lfree    L(r,r,r)
    Molecules  Rtot     R()
    Molecules  Ltot     L()
    Molecules  LRmotif  L(r!0).R(l!0)
    Species    R2       R==2
    Species    R3       R==3
    Species    R4       R==4
        Species    R5       R<4
end observables

results in ExpatError: not well-formed (invalid token).

This is a result of "<" being a special character in XML