schematron-quickfix / escali-package

Escali Package
2 stars 1 forks source link

Schema validation problems #10

Open nkutsche opened 5 years ago

nkutsche commented 5 years ago

Hi! I enabled the Escali in oXygen:

image

Then validated the document using a validation scenario. It worked as usual, no error messages in Escali Schematron View Pane.

Then I tried to associate the schematron file with the xml document as you recommended and I get following message:

Failed to load document file:/C:/.../schemas/integrated-styleguide_DIME/src/rules/library.sch#checkAttributeValue Failed to load document file:/C:/.../schemas/integrated-styleguide_DIME/src/rules/library.sch#checkAttributeValue

So it looks like a problem with resolving the references as the validation scenario refers to rules.sch (part of the intergrated styleguide project).

Then I associated the file with a standalone schmatron file and I got 11 error-messages :

_System ID: C:\Users\Documents\dme_repos\branches\repos_develop_os\trunk_branch-os\schemas\integrated-styleguideDIME\src\rules\schematron-DME.sch Engine name: Escali Schematron Severity: fatal Description: Invalid content was found starting with element '{"http://purl.oclc.org/dsdl/schematron":p}'. One of '{"http://purl.oclc.org/dsdl/schematron":extends, "http://purl.oclc.org/dsdl/schematron":report, "http://purl.oclc.org/dsdl/schematron":include, "http://purl.oclc.org/dsdl/schematron":let, "http://purl.oclc.org/dsdl/schematron":assert, WC[""], WC[##other:"http://purl.oclc.org/dsdl/schematron",""]}' is expected. Offset: 3

and one message:

Validation canceld because of internal error!

Originally posted by @OS-50101 in https://github.com/schematron-quickfix/escali-package/issues/9#issuecomment-460991562

nkutsche commented 5 years ago

Hi,

@OS-50101: could you please provide me an example where these error happens? Otherwise it is hard to debug the issue. (It doesn't need to be the complete Schematron, if you can isolate the error) Thanks!