タイトルよみインラインスクリプト ヲ フクンダ XHTML ブンショ 二 タイスル データフロー カイセキ ヲ モチイタ コウブン ケンショウ シュホウ
並列タイトル等Data-flow Based Syntax Validation Method for XHTML Documents with Embedded Inline Scripts
一般注記HTMLやXHTML文書の多くは,JavaScriptやPHPといったスクリプトを用いて動的に文書の内容を生成することが多い.これらの文書に対して,従来の構文検証手法はスクリプトの内容は無視されていたため実際には構文誤りを含む文書を含まない文書と誤って判断していた.そこで本研究では,インラインスクリプトとしてECMAScriptを含むXHTML文書の構文を検証するために,出力文のデータフロー解析を用いて出力文字列を正規表現を用いて表記し,それに対して検証するという手法を提案する.また,本手法を用いた構文検証ツールの実装を行い,実際の文書をツールに適用して手法の評価を行った.その結果,既存の検証ツールでは検出できなかった誤りを検出できることを確認した.
Today many HTML and XHTML documents are often dynamically generated by scripts such as JavaScript and PHP. The existing verification techniques cannot be applicable to these scripts. In order to verify the syntax of an XHTML document containing an in-line script, we propose a technique that we use the data flow analysis of the output sentences, create pattern of the output strings, and verify the pattern. In addition, we have been implemented the syntax verification tool using this technique, and we have evaluated our approach. As a result, we could find errors which have not been detected by the existing syntax analysis tools.
一次資料へのリンクURLipij-jnl_45_8_2034.pdf (fulltext)
著作権情報ここに掲載した著作物の利用に関する注意 本著作物の著作権は情報処理学会に帰属します。本著作物は著作権者である情報処理学会の許可のもとに掲載するものです。ご利用に当たっては「著作権法」ならびに「情報処理学会倫理綱領」に従うことをお願いいたします。
Notice for the use of this material The copyright of this material is retained by the Information Processing Society of Japan (IPSJ). This material is published on this web site with the agreement of the author (s) and the IPSJ. Please be complied with Copyright Law of Japan and the Code of Ethics of the IPSJ if any users wish to reproduce, make derivative work, distribute or make available to the public any part or whole thereof. All Rights Reserved, Copyright (C) Information Processing Society of Japan. Comments are welcome. Mail to address editj@ipsj.or.jp, please.
連携機関・データベース国立情報学研究所 : 学術機関リポジトリデータベース(IRDB)(機関リポジトリ)