-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for validating NeXus files without an application defin…
…ition. As implemented now, validation happens against a minimal application definition containing just an NXentry. Refs #13
- Loading branch information
1 parent
7988c50
commit cb4334c
Showing
8 changed files
with
138 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* | ||
Just a morsel of code to define the minimal application definition. For | ||
checking NeXus files without an application definition | ||
*/ | ||
|
||
static const char xmlMinimal[] = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\ | ||
<?xml-stylesheet type=\"text/xsl\" href=\"nxdlformat.xsl\" ?>\ | ||
<definition name=\"NXminimal\" extends=\"NXobject\" type=\"group\"\ | ||
category=\"application\"\ | ||
xmlns=\"http://definition.nexusformat.org/nxdl/3.1\"\ | ||
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\ | ||
xsi:schemaLocation=\"http://definition.nexusformat.org/nxdl/3.1 ../nxdl.xsd\"\ | ||
version=\"1.0b\"\ | ||
>\ | ||
<group type=\"NXentry\" name=\"entry\">\ | ||
</group>\ | ||
</definition>"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters