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

Processing instruction at root of test data: test always fails #54

Open
GoogleCodeExporter opened this issue Jun 8, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

If the expected test data contain a processing instruction next to the root 
element, e.g.

<?xml version="1.0"?>
<?xml-stylsheet ...?>
<root>
...
</root>

the test will never succeed, because the PI is somehow lost.

Using xspec-0.4.0rc1.

The same holds for expected results that contain a DOCTYPE declaration (I'm not 
sure this is even possible at all): the document is not well-formed because the 
declaration is in the middle of the text, but the style sheet has to generate 
it.  Can the use of an external file solve this?  Or are there ways around this 
problem?

Thanks!

Original issue reported on code.google.com by fou...@googlemail.com on 14 Dec 2012 at 8:07

innovimax pushed a commit to innovimax/xspec that referenced this issue Jan 17, 2017
* Add test case for Windows batch script for issue expath#46 / pr expath#48
* Align batch script with shell script to mimic setup/teardown functions in batch script (82a3d49)
- Use the same output dir and file as the shell script for .gitignore to fully take effect on windows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant