tksk / jing-trang

Automatically exported from code.google.com/p/jing-trang
0 stars 0 forks source link

Reference patterns not handled for data patterns #82

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Jing does not report an error when the following Relax NG schema is used to
validate the XML file below

test.rnc

start = element test { xsd:Name - (forbidden) }
forbidden = "forbidden"

test.xml

<?xml version="1.0" encoding="UTF-8"?>
<?oxygen RNGSchema="test.rnc" type="compact"?>
<test>forbidden</test>

If the reference to the forbidden pattern is replaced with its value then
the error is reported.

The problem is that the RefPattern is not handled in DataDerivFunction and
in DataDerivTypeFunction.

Original issue reported on code.google.com by georgebina76 on 22 Jul 2009 at 2:51

GoogleCodeExporter commented 9 years ago
Fixed in r2325.

Original comment by georgebina76 on 22 Jul 2009 at 2:56