データ形式LOCALブラウザ内で処理
XML フォーマッター
外部entityを処理せず、上限付きXML element treeをローカル整形します。
入力と主要な処理をブラウザ内で行い、その入力内容をQuickKitサーバーへ送信しない設計です。
仕組みと使い方
elementとattributeの限定subsetを整形します。child element間のformatting whitespaceは正規化し、leaf textの空白は保持します。XML 1.0のline endingとCDATA型attributeのliteral whitespaceを正規化します。実mixed content、comment、processing instruction、CDATA、namespace、DOCTYPE、ENTITY declarationは捨てずにrejectし、external entityをfetchしません。