-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Read extends keyword from file * Insert extends parents into the inheritance chain * Automatically populate tree from appdef parents * Only populate tree if parents are present * Docstring improvements * Fix exact match in NX_CLASS[path] notation * If minOccurs == 0, set the group to optional * Add extended NXtest
- Loading branch information
Showing
5 changed files
with
205 additions
and
20 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<?xml-stylesheet type="text/xsl" href="nxdlformat.xsl" ?> | ||
<definition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://definition.nexusformat.org/nxdl/3.1 ../nxdl.xsd" | ||
xmlns="http://definition.nexusformat.org/nxdl/3.1" | ||
name="NXtest_extended" | ||
extends="NXtest" | ||
type="group" | ||
category="application" | ||
> | ||
<doc>This is a dummy NXDL to test an extended application definition.</doc> | ||
<group type="NXentry"> | ||
<field name="definition"> | ||
<doc>This is a dummy NXDL to test out the dataconverter.</doc> | ||
<enumeration> | ||
<item value="NXtest_extended"/> | ||
</enumeration> | ||
</field> | ||
<field name="extended_field" type="NX_FLOAT" units="NX_ENERGY"> | ||
<doc>A dummy entry for an extended field.</doc> | ||
</field> | ||
</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