The validator doesn't like either of these RTW itineraries:
yyz-ord-anc-dfw-lga,jfk-syd-akl-mel-hkg-nrt-hkg-sin-hkg-lhr-dxb-lhr-ist-lhr-yvr-jfk,lga-yyz
bos-dfw-anc-dfw-sju-lax-lhr-dxb-lhr-rom-hel-hkg-nrt-hkg-jfk-bos
Are they valid? And if so, can they be used to diagnose the difficulty?
Also, do you need a way to designate transit-only segments? And if so, perhaps > or = could be used to note a transit-only segment that would otherwise violate a ONE rule.
I also recommend allowing remarks or comments in the sequence for the validator to ignore, but the human to be able to see. Perhaps square brackets [could be used to make remarks] in the string to be validated.