[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Need: XSL FO Schema/ .XSD/ Validator? "defined" or "variable" based on the FO Processor used. Comments on the listed Items I have found.


Subject: RE: [xsl] Need: XSL FO Schema/ .XSD/ Validator? "defined" or "variable" based on the FO Processor used. Comments on the listed Items I have found.
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Tue, 20 Jul 2004 22:26:09 +0100

> Try
>
http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-fop/src/foschema/fop.xsd?re
v=1.3
> 

Thanks, that's useful.

Unfortunately this schema falls foul of the notorious erratum that changed
the syntax for regular expressions permitted by XML Schema. Saxon-SA 8.0
reports the following errors:

Error on line 780 column 36 of file:/C:/MyJava/tests/schema/real/fop.xsd:
  Error at character 1 in regular expression: should_quote (-)
Error on line 793 column 41 of file:/C:/MyJava/tests/schema/real/fop.xsd:
  Error at character 1 in regular expression: should_quote (-)
Error on line 809 column 63 of file:/C:/MyJava/tests/schema/real/fop.xsd:
  Error at character 3 in regular expression: should_quote (])
Error on line 901 column 65 of file:/C:/MyJava/tests/schema/real/fop.xsd:
  Error at character 1 in regular expression: should_quote (-)
Error on line 914 column 43 of file:/C:/MyJava/tests/schema/real/fop.xsd:
  Error at character 1 in regular expression: should_quote (-)
Schema processing failed: 5 errors were found while processing the schema

They are easily fixed, but a lot of previously valid schemas are being
caught by this change.

Michael Kay


Current Thread
Keywords