Skip to content

Commit

Permalink
#3636: explained
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Dec 12, 2024
1 parent 6f07f8f commit fa589e6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion eo-parser/src/main/java/org/eolang/parser/StrictXmir.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@
*
* <p>This class is supposed to be used ONLY for testing, because
* it modifies the XML encapsulated: it replaces the location of
* XSD schema with a file, thus making testing much faster.</p>
* XSD schema with a file, thus making testing much faster. However,
* the original location of the XSD schema will be lost/removed
* from the XML. Thus, you better save the XML to disc and only
* then encapsulate it into this decorator.</p>
*
* @since 0.49.0
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ void validatesXmirWithBrokenUri(@Mktmp final Path tmp) {
new XMLDocument(
new Xembler(
new Directives()
.append(new DrProgram("foo"))
.append(new DrProgram("foobar"))
.xpath("/program")
.attr(
"noNamespaceSchemaLocation xsi http://www.w3.org/2001/XMLSchema-instance",
Expand Down

0 comments on commit fa589e6

Please sign in to comment.