Issue 54 in xspec: Processing instruction at root of test data: test always fails

6 views
Skip to first unread message

xs...@googlecode.com

unread,
Dec 14, 2012, 3:07:54 PM12/14/12
to xspe...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 54 by fou...@gmail.com: Processing instruction at root of test
data: test always fails
http://code.google.com/p/xspec/issues/detail?id=54

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!

Reply all
Reply to author
Forward
0 new messages