Tests that contain the draft-watermark are under development and may be incorrectly testing a feature.

conform-viewers-03-f.svg

FAIL

raster image of conform-viewers-03-f.svg

Operator Script

Run the test. No interaction required.

Pass Criteria

The testcase has passed if after the script execution has taken place these conditions are met:

Test Description

This test checks that namespace prefixes are handled correctly.

First, a random 20-character string is generated. The string only contains characters that are valid NCName letters. This string is then used as a custom prefix for an 'href' attribute in the XLink namespace. An 'image' element is created and two image references are added, one is in the "http://www.this.is.not.an/xlink" namespace, and one is in the XLink namespace. Only the attribute with the 20-character prefix is actually in the XLink namespace, which means that that link should be the one that is used when rendering the 'image' element. This first subtest is using the setAttributeNS method.