Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to load XML in folder containing single quote (apostrophe U+0027) #610

Closed
AirQuick opened this issue Sep 7, 2019 · 0 comments · Fixed by #611
Closed

Fails to load XML in folder containing single quote (apostrophe U+0027) #610

AirQuick opened this issue Sep 7, 2019 · 0 comments · Fixed by #611
Assignees
Labels
Milestone

Comments

@AirQuick
Copy link
Member

AirQuick commented Sep 7, 2019

Similar to #119

D:\xspec\test>md "some'path"

D:\xspec\test>copy do-nothing.xsl "some'path"
        1 file(s) copied.

D:\xspec\test>copy xspec-node-selection.* "some'path"
xspec-node-selection.xml
xspec-node-selection.xsl
xspec-node-selection.xspec
        3 file(s) copied.

D:\xspec\test>..\bin\xspec.bat "some'path\xspec-node-selection.xspec"
Saxon script not found, invoking JVM directly instead.

Creating XSpec Directory at D:\xspec\test\some'path\xspec...

Creating Test Stylesheet...

Running Tests...
Syntax error near {...ec/xspec/trunk/test/some'pa...} at char 57 in expression in xsl:variable/@select on line 28 column 117 of xspec-node-selection.xsl:
  XPST0003: expected ")", found name "path"
Syntax error near {...ec/xspec/trunk/test/some'pa...} at char 57 in expression in xsl:variable/@select on line 46 column 117 of xspec-node-selection.xsl:
  XPST0003: expected ")", found name "path"
Syntax error near {...ec/xspec/trunk/test/some'pa...} at char 57 in expression in xsl:variable/@select on line 180 column 126 of xspec-node-selection.xsl:
  XPST0003: expected ")", found name "path"
Syntax error near {...ec/xspec/trunk/test/some'pa...} at char 57 in expression in xsl:variable/@select on line 534 column 126 of xspec-node-selection.xsl:
  XPST0003: expected ")", found name "path"
Syntax error near {...ec/xspec/trunk/test/some'pa...} at char 57 in expression in xsl:variable/@select on line 592 column 126 of xspec-node-selection.xsl:
  XPST0003: expected ")", found name "path"
Syntax error near {...ec/xspec/trunk/test/some'pa...} at char 57 in expression in xsl:variable/@select on line 614 column 120 of xspec-node-selection.xsl:
  XPST0003: expected ")", found name "path"
Syntax error near {...ec/xspec/trunk/test/some'pa...} at char 57 in expression in xsl:variable/@select on line 712 column 123 of xspec-node-selection.xsl:
  XPST0003: expected ")", found name "path"
Errors were reported during stylesheet compilation

*** Error running the test suite
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant