Signing DOM Tree

Apache XML Security MLより:
I need to sign a big message (25megs). I can sign 12meg messages with no
problems. However 25megs just don't work. Does anyone have any suggestions,
optimisations etc they could suggest that would help me push the envelope ?

参考訳:25メガのXMLメッセージ署名しようとしたらだめなんだよね。12メガなら何の問題もなかったのに。どうしたらいいかな

ふむ。そもそも署名がどうのこうのっていうより、25MバイトのXMLってアリなのか?2500万字だろ。もし、メールでもらおうとか言ってしまったら、30万行だぞ。ほとんどスパムぢゃないか。
これおそらく、同じ要素型の要素が死ぬほど並ぶって形のものだろうから、XMLの自己記述性ってやつの冗長さをモロに受けているに違いない。こういうのってXMLInfoSetの構造の自己記述性を維持しつつ、コンパクトに表現する方法ってあるだろうにねえ。



Signing DOM Tree
From Apache XML Security ML
I need to sign a big message (25megs). I can sign 12meg messages with no
problems. However 25megs just don't work. Does anyone have any suggestions,
optimisations etc they could suggest that would help me push the envelope ?

I understand it, but I think the sender of this mail should stop to reconsider the true problem before asking how 25M-bytes XML message could be signed. Is the current XML format actually adequate for structured data of 25 MB bytes? If you would like to get this message by mail, you will get a spam-like mail with 300,000 lines! I guess the 25M-bytes data includes over thousands of elements typed by the same element type, that is, it is adversely affected this data that XML format sacrifices its compactness for its feature of self-description. I'm afraid a community will conclude that this problem should be solved by means of 'using binary data format of XML Infoset'...