Case-insensitive custom tag recognition and handling
    112.
    发明授权
    Case-insensitive custom tag recognition and handling 有权
    不区分大小写的自定义标签识别和处理

    公开(公告)号:US06675354B1

    公开(公告)日:2004-01-06

    申请号:US09442698

    申请日:1999-11-18

    CPC classification number: G06F17/272 G06F17/2247 G06F17/2705

    Abstract: A method for processing custom tags in a document object model (DOM) representation irrespective of the case in which the tags are authored. In an illustrative embodiment, a document object model (DOM) tree is processed to identify custom tags. Upon encountering a custom tag, an appropriate tag handler (e.g., a Java object, an XSL stylesheet, or the like) is invoked. According to the invention, a tag recognition routine is used for recognizing and handling case-insensitive custom tags. As a servlet engine is examining a tag name, if the name does not match one of the registered tags, the routine converts the name to neutral case. If the tag recognition routine recognizes the name as one of the case-insensitive tags, it converts the attributes to the appropriate case, and hands the resulting element off to a correct tag handler for processing.

    Abstract translation: 用于处理文档对象模型(DOM)表示中的自定义标签的方法,而不管标签的创建情况如何。 在说明性实施例中,处理文档对象模型(DOM)树以识别自定义标签。 在遇到自定义标签时,调用适当的标签处理程序(例如,Java对象,XSL样式表等)。 根据本发明,使用标签识别程序来识别和处理不区分大小写的自定义标签。 由于servlet引擎正在检查标签名称,如果名称与其中一个已注册的标签不匹配,则例程将名称转换为中性。 如果标签识别程序将该名称识别为不区分大小写的标签之一,则会将属性转换为适当的大小写,并将生成的元素移交到正确的标签处理程序进行处理。

Patent Agency Ranking