367591 - Support Env variables in XmlConfiguration.
The 7.6 DTD was erroneously committed without the relevant change, which was committed to the 6.0 DTD.
This commit is contained in:
parent
7b61f5f04d
commit
ab40dee06f
|
@ -19,7 +19,7 @@ my be specified if a match is not achieved.
|
|||
-->
|
||||
|
||||
<!ENTITY % CONFIG "Set|Get|Put|Call|New|Ref|Array|Map|Property">
|
||||
<!ENTITY % VALUE "#PCDATA|Get|Call|New|Ref|Array|Map|SystemProperty|Env|Property">
|
||||
<!ENTITY % VALUE "#PCDATA|Get|Call|New|Ref|Array|Map|SystemProperty|Property">
|
||||
|
||||
<!ENTITY % TYPEATTR "type CDATA #IMPLIED " > <!-- String|Character|Short|Byte|Integer|Long|Boolean|Float|Double|char|short|byte|int|long|boolean|float|double|URL|InetAddress|InetAddrPort| #classname -->
|
||||
<!ENTITY % IMPLIEDCLASSATTR "class NMTOKEN #IMPLIED" >
|
||||
|
@ -245,24 +245,6 @@ This is equivalent to:
|
|||
<!ELEMENT SystemProperty EMPTY>
|
||||
<!ATTLIST SystemProperty %NAMEATTR; %DEFAULTATTR; %IDATTR;>
|
||||
|
||||
<!--
|
||||
Environment variable Element.
|
||||
This element allows OS Environment variables to be retrieved as
|
||||
part of the value of elements such as Set, Put, Arg, etc.
|
||||
The name attribute specifies the env variable name and the optional
|
||||
default argument provides a default value.
|
||||
|
||||
<Env name="Test" default="value" />
|
||||
|
||||
This is equivalent to:
|
||||
|
||||
String v=System.getEnv("Test");
|
||||
if (v==null) v="value";
|
||||
|
||||
-->
|
||||
<!ELEMENT Env EMPTY>
|
||||
<!ATTLIST Env %NAMEATTR; %DEFAULTATTR; %IDATTR;>
|
||||
|
||||
|
||||
<!--
|
||||
Property Element.
|
||||
|
|
|
@ -19,7 +19,7 @@ my be specified if a match is not achieved.
|
|||
-->
|
||||
|
||||
<!ENTITY % CONFIG "Set|Get|Put|Call|New|Ref|Array|Map|Property">
|
||||
<!ENTITY % VALUE "#PCDATA|Get|Call|New|Ref|Array|Map|SystemProperty|Property">
|
||||
<!ENTITY % VALUE "#PCDATA|Get|Call|New|Ref|Array|Map|SystemProperty|Env|Property">
|
||||
|
||||
<!ENTITY % TYPEATTR "type CDATA #IMPLIED " > <!-- String|Character|Short|Byte|Integer|Long|Boolean|Float|Double|char|short|byte|int|long|boolean|float|double|URL|InetAddress|InetAddrPort| #classname -->
|
||||
<!ENTITY % IMPLIEDCLASSATTR "class NMTOKEN #IMPLIED" >
|
||||
|
@ -246,6 +246,25 @@ This is equivalent to:
|
|||
<!ATTLIST SystemProperty %NAMEATTR; %DEFAULTATTR; %IDATTR;>
|
||||
|
||||
|
||||
<!--
|
||||
Environment variable Element.
|
||||
This element allows OS Environment variables to be retrieved as
|
||||
part of the value of elements such as Set, Put, Arg, etc.
|
||||
The name attribute specifies the env variable name and the optional
|
||||
default argument provides a default value.
|
||||
|
||||
<Env name="Test" default="value" />
|
||||
|
||||
This is equivalent to:
|
||||
|
||||
String v=System.getEnv("Test");
|
||||
if (v==null) v="value";
|
||||
|
||||
-->
|
||||
<!ELEMENT Env EMPTY>
|
||||
<!ATTLIST Env %NAMEATTR; %DEFAULTATTR; %IDATTR;>
|
||||
|
||||
|
||||
<!--
|
||||
Property Element.
|
||||
This element allows arbitrary properties to be retrieved by name.
|
||||
|
|
Loading…
Reference in New Issue