IP Library Patent Application 13118702
Patent Application
App. No. 13/118,702

INSERTING A BENIGN TAG IN AN UNCLOSED FRAGMENT

Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US None
App. No.
13/118,702
Abstract

A device receives data to be rendered. A fragment in the data that is unclosed is detected, and a benign tag is inserted in the unclosed fragment to cause a rendering engine to render the unclosed fragment.

Claims (55)

1 . A method of a device having a processor, comprising:

receiving data to be rendered;

identifying a fragment in the data as unclosed, where the unclosed fragment is missing a closing tag corresponding to an opening tag of the unclosed fragment; and

in response to identifying the unclosed fragment, inserting a benign tag in the unclosed fragment to cause a rendering engine to render the unclosed fragment, wherein the inserting of the benign tag in the unclosed fragment is performed without inserting the closing tag corresponding to the opening tag of the unclosed fragment.

2 . (canceled)

3 . The method of claim 1 , further comprising:

determining whether a condition relating to the fragment is satisfied,

wherein identifying the fragment as unclosed is in response to determining that the condition is satisfied.

4 . The method of claim 3 , wherein determining that the condition is satisfied comprises:

counting a number of characters in the fragment between a last tag of the fragment and an end of the fragment, and

detecting the number exceeding a predefined threshold.

5 . A method of a device having a processor, comprising:

receiving data to be rendered;

determining whether a condition relating to a fragment in the data is satisfied;

identifying the fragment as being unclosed in response to determining that the condition is satisfied, wherein determining that the condition is satisfied comprises detecting a more break in the fragment: and

inserting a benign tag in the unclosed fragment to cause a rendering engine to render the unclosed fragment.

6 . The method of claim 1 , wherein inserting the benign tag comprises inserting a tag that is not recognized by the rendering engine.

7 . The method of claim 1 , further comprising:

checking for a markup language tag or a markup language entity in the unclosed fragment to avoid inserting the benign tag into the markup language tag or markup language entity.

8 . The method of claim 7 , further comprising checking for the markup language tag or markup language entity starting from an end of the received data.

9 . The method of claim 7 , wherein checking for the markup language tag or markup language entity comprises querying a state of a parser of the rendering engine.

10 . The method of claim 1 , further comprising:

during parsing of the unclosed fragment after insertion of the benign tag, detecting, by the rendering engine, the benign tag; and

in response to detecting the benign tag, rendering, by the rendering engine, the unclosed fragment.

11 . The method of claim 10 , further comprising discarding, by the rendering engine, the benign tag due to the benign tag being unrecognized by the rendering engine.

12 . An article comprising at least one non-transitory machine-readable storage medium storing instructions that upon execution cause a device to:

receive a document containing content defined by a markup language;

identify a fragment in the content as unclosed, where the unclosed fragment is missing a closing tag corresponding to an opening tag of the unclosed fragment; and

in response to identifying the unclosed fragment, insert a benign tag into the unclosed fragment to cause a rendering engine to render the unclosed fragment, wherein the inserting of the benign tag in the unclosed fragment is performed without inserting the closing tag corresponding to the opening tag of the unclosed fragment.

13 . The article of claim 12 , wherein the content is defined by a Hypertext Markup Language.

14 . The article of claim 12 , wherein the instructions upon execution cause the device to further:

determine whether a condition relating to the fragment is satisfied,

wherein identifying the fragment as unclosed is in response to determining that the condition is satisfied.

15 . The article of claim 14 , wherein determining that the condition is satisfied comprises:

counting a number of characters in the fragment between a last tag of the fragment and an end of the fragment, and

detecting the number exceeding a predefined threshold.

16 . The article of claim 14 , wherein determining that the condition is satisfied comprises detecting a more break in the fragment, the more break indicating that the received data is partial data that is missing further data.

17 . The article of claim 12 , wherein the instructions upon execution cause the device to further:

check for a markup language tag or a markup language entity in the unclosed fragment to avoid inserting the benign tag into the markup language tag or markup language entity.

18 . (canceled)

19 . The electronic device of claim 20 , wherein the identification of the fragment in the data as unclosed is based on one of:

a detection that a length of characters in the fragment exceeds a predefined length threshold; or

a detection that the received data including the fragment is partial data missing further data.

20 . An electronic device comprising:

a network interface to receive data; and

at least one processor to:

receive the data to be rendered;

identify a fragment in the data that is unclosed; and

insert a benign tag in the unclosed fragment to cause a rendering engine to render the unclosed fragment, wherein the benign tag is a tag undefined by a markup language defining content of the received data.

21 . The method of claim 1 , wherein the benign tag has a “<” character and a “>” character.

22 . The method of claim 1 , wherein the benign tag is a tag undefined by a markup language defining content of the received data.

23 . The method of claim 5 , wherein the more break provides an indication that the received data is partial data that is missing further data.

24 . The article of claim 12 , wherein the benign tag is a tag undefined by the markup language defining the content of the received document.

25 . The electronic device of claim 20 , wherein the markup language is a Hypertext Markup Language.

26 . The electronic device of claim 20 , wherein the at least one processor is to insert the benign tag in the unclosed fragment, in response to identifying the unclosed fragment, without inserting a closing tag corresponding to an opening tag in the unclosed fragment.

Assignments (4)
CHANGE OF NAME Recorded Feb 18, 2015
From: RESEARCH IN MOTION LIMITED
To: BLACKBERRY LIMITED
Reel/Frame 035021/0768 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 4, 2011
From: RESEARCH IN MOTION CORPORATION
To: RESEARCH IN MOTION LIMITED
Reel/Frame 026539/0927 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 31, 2011
From: KLASSEN, GERHARD DIETRICH; STAIKOS, GEORGE ROSS; FIDLER, ELI JOSHUA
To: RESEARCH IN MOTION LIMITED
Reel/Frame 026362/0341 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 31, 2011
From: DAMODARAN, PRAKASH
To: RESEARCH IN MOTION CORPORATION
Reel/Frame 026362/0370 →