Test results for Win32 Console

test_001088_option_columns_regex_named_schema_args

Test description

Test for elements generated by regular expressions from echema options and
ensure that the element names that are specified in the option do not 
override the schema element names.

Test status

 Pass

Run command

cat _INPUT_DATA_ ¦ xmlfy -S schema.dtd

Input data

line 1 abc
line 2 abc def
line 3 abc
line 4 abc def
line 5 ghi
line 6 abc

Schema

<!-- xmlfy-args: -W 'i/(abc).*(def)/abc x=\"1\",def y=\"2\"' -X trimtagclose -->
<!ELEMENT a(pair)>
<!ELEMENT pair(one,two)>
<!ELEMENT one (#PCDATA)>
<!ELEMENT two(#PCDATA)>

Output result

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE a SYSTEM "schema.dtd">
<a>
  <pair>
    <one>abc</one>
    <two>def</two>
  </pair>
</a>

Goto:   Top of page.   Section "Environment".   Section "Summary".   Section "Test cases".