Commented XML processing instruction is processed (bug?)
Posted: Wed Sep 28, 2005 11:21 pm
With oXygen 6.2, I get unexpected results if I validate a document whose first lines are like this:
As you can see, I didn't want the Schematron schema to be used, so I commented it out. However, the validation tested against the Schematron anyway (it reported errors, so I know it processed the schema).
This looks like a bug to me--oXygen should treat line 3 as an XML comment, right? It should not intepret the processing instruction inside?
Code: Select all
<?xml version="1.0"?>
<?oxygen RNGSchema="FoundingEra-vendor.rng" type="xml"?>
<!-- <?oxygen SCHSchema="GWP.sch"?> -->
This looks like a bug to me--oXygen should treat line 3 as an XML comment, right? It should not intepret the processing instruction inside?