fatty- / daisy-pipeline

Automatically exported from code.google.com/p/daisy-pipeline
0 stars 0 forks source link

Ambiguous rule match in generate-ids.xsl #287

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run the dontworrybehappy sample daisy202 book from daisy.org through 
daisy202-to-epub3

What is the expected output? What do you see instead?
The script succeeds and validates in epubcheck with "No errors or warnings 
detected". The text contents also looks ok in FBReader.

However, there's a bunch of these error messages in the log:

2013-04-02 17:11:47,875 [ERROR] com.xmlcalabash - err:XTRE0540:Ambiguous rule 
match for /smil/body[1]
Matches both "element()" on line 19 of bundle://19.0:1/xml/generate-ids.xsl
and "node()" on line 9 of bundle://19.0:1/xml/generate-ids.xsl
2013-04-02 17:11:47,880 [ERROR] com.xmlcalabash - err:XTRE0540:Ambiguous rule 
match for /smil/body[1]/par[1]
Matches both "element()" on line 19 of bundle://19.0:1/xml/generate-ids.xsl
and "node()" on line 9 of bundle://19.0:1/xml/generate-ids.xsl
2013-04-02 17:11:47,884 [ERROR] com.xmlcalabash - err:XTRE0540:Ambiguous rule 
match for /smil/body[1]/par[1]/text[1]
Matches both "element()" on line 19 of bundle://19.0:1/xml/generate-ids.xsl
and "node()" on line 9 of bundle://19.0:1/xml/generate-ids.xsl
2013-04-02 17:11:47,889 [ERROR] com.xmlcalabash - err:XTRE0540:Ambiguous rule 
match for /smil/body[1]/par[1]/audio[1]
Matches both "element()" on line 19 of bundle://19.0:1/xml/generate-ids.xsl
and "node()" on line 9 of bundle://19.0:1/xml/generate-ids.xsl
2013-04-02 17:11:47,897 [ERROR] com.xmlcalabash - err:XTRE0540:Ambiguous rule 
match for /smil/body[1]/par[2]
Matches both "element()" on line 19 of bundle://19.0:1/xml/generate-ids.xsl
and "node()" on line 9 of bundle://19.0:1/xml/generate-ids.xsl
2013-04-02 17:11:47,901 [ERROR] com.xmlcalabash - err:XTRE0540:Ambiguous rule 
match for /smil/body[1]/par[2]/text[1]
Matches both "element()" on line 19 of bundle://19.0:1/xml/generate-ids.xsl
and "node()" on line 9 of bundle://19.0:1/xml/generate-ids.xsl
2013-04-02 17:11:47,910 [ERROR] com.xmlcalabash - err:XTRE0540:Ambiguous rule 
match for /smil/body[1]/par[2]/audio[1]
Matches both "element()" on line 19 of bundle://19.0:1/xml/generate-ids.xsl
and "node()" on line 9 of bundle://19.0:1/xml/generate-ids.xsl

etc...

Original issue reported on code.google.com by josteinaj@gmail.com on 2 Apr 2013 at 3:23

GoogleCodeExporter commented 9 years ago
Fixed in 
https://github.com/daisy-consortium/pipeline-scripts-utils/commit/fe136fbe4f3e02
feeb9924cdf3e0c1a84d73587d

Original comment by rdeltour@gmail.com on 13 Apr 2013 at 12:50