Here's a decent chart of spindle dimensions. I'd say diameter is more important than length. Too short might not give you enough thread for the lock ring but a millimeter or two too long would be ok. Look for french spindles. They're really similar to Swiss.
http://mountainbikers.hubsystems.com...s/chapter9.pdf