xmlutils 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +6 -0
- data/Gemfile +4 -0
- data/LICENSE +22 -0
- data/README.md +77 -0
- data/bin/xmltogdl +88 -0
- data/docs/README.txt +20 -0
- data/lib/xmlutils/contextlistener.rb +432 -0
- data/lib/xmlutils/contextparser.rb +111 -0
- data/lib/xmlutils/dumplistener.rb +57 -0
- data/lib/xmlutils/gdlcontext.rb +305 -0
- data/lib/xmlutils/gdlcontextobjs.rb +286 -0
- data/lib/xmlutils/gdldoc.rb +547 -0
- data/lib/xmlutils/gdldocbuilder.rb +181 -0
- data/lib/xmlutils/gdllistener.rb +265 -0
- data/lib/xmlutils/gdltemplate.rb +488 -0
- data/lib/xmlutils/lineparser.rb +193 -0
- data/lib/xmlutils/listener.rb +459 -0
- data/lib/xmlutils/rulelistener.rb +414 -0
- data/lib/xmlutils/ruleparser.rb +112 -0
- data/lib/xmlutils/varlistener.rb +86 -0
- data/lib/xmlutils/version.rb +5 -0
- data/lib/xmlutils/xmlrulevisitor.rb +704 -0
- data/lib/xmlutils/xmltogdlcontroller.rb +93 -0
- data/lib/xmlutils/xmltogdltask.rb +23 -0
- data/lib/xmlutils/xmlvisitor.rb +690 -0
- data/lib/xmlutils.rb +40 -0
- data/rakefile.rb +34 -0
- data/unittests/2830.xml +1 -0
- data/unittests/chunks.rb +31 -0
- data/unittests/curDirTest.rb +2 -0
- data/unittests/data/2830-GENERATED.gdl +309 -0
- data/unittests/data/2830-GENERATED.xml +1 -0
- data/unittests/data/AUGuideline.xml +12 -0
- data/unittests/data/AUGuideline.xml.gdl +19190 -0
- data/unittests/data/BAKUP.DCTEST1.xml +1 -0
- data/unittests/data/DCTEST.xml +1 -0
- data/unittests/data/DCTEST1.xml +1 -0
- data/unittests/data/DCTEST1.xml.gdl +14890 -0
- data/unittests/data/DCTEST1.xml.rename.csv +180 -0
- data/unittests/data/DCTEST1wLookups.xml +174 -0
- data/unittests/data/DCTEST1wLookups.xml.gdl +127 -0
- data/unittests/data/GENERATED.gdl.xml +1 -0
- data/unittests/data/Message.xml +1 -0
- data/unittests/data/Message.xml.gdl +142 -0
- data/unittests/data/Pricing2ndGuideline.xml +1 -0
- data/unittests/data/Pricing2ndGuideline.xml.gdl +52670 -0
- data/unittests/data/Z-TEMP-Jeff.xml +1 -0
- data/unittests/data/Z-TEMP-Jeff.xml.gdl +288 -0
- data/unittests/tc_convert_xml_to_gdl.rb +23 -0
- data/unittests/ts_allTests.rb +2 -0
- data/xmlutils.gemspec +25 -0
- metadata +139 -0
@@ -0,0 +1 @@
|
|
1
|
+
<GuidelineRoot><Guideline GuidelineID="80" Name="Z-TEMP" Version="62131" StartDate="Nov 10 2007 4:58PM"><Ruleset Id="2086" Name="G-SelfEmployedFlag" ExecuteType="3" Type="0"><Rule Id="32761" Name="G-SetSelfEmployedFlag"><IfMessages /><ElseMessages /><Condition><Expression><Compute><Operator>OR</Operator><LeftOperand><Brace><Compute><Operator><></Operator><LeftOperand><PPM Name="Pr Borr Hghst Inc Self Employment" Type="APM" /></LeftOperand><RightOperand><Constant>0</Constant></RightOperand></Compute></Brace></LeftOperand><RightOperand><Brace><Compute><Operator><></Operator><LeftOperand><PPM Name="Is 1099 Earner-Prim Borr" Type="APM" /></LeftOperand><RightOperand><Constant>0</Constant></RightOperand></Compute></Brace></RightOperand></Compute></Expression></Condition><IfActions><Assign><AssignTo><DPM Name="fIsSelfEmployed" Type="DPM" Order="0" ProductType="1" /></AssignTo><AssignValue><Expression><Constant>TRUE</Constant></Expression></AssignValue></Assign></IfActions><ElseActions><Assign><AssignTo><DPM Name="fIsSelfEmployed" Type="DPM" Order="0" ProductType="1" /></AssignTo><AssignValue><Expression><Constant>FALSE</Constant></Expression></AssignValue></Assign></ElseActions></Rule></Ruleset><Rule Id="49735" Name="SubP-IneligibleSIVAW2"><IfMessages><Message Type="Exceptions" ExceptionType="Exceptions"><![CDATA[Non-self employed borrowers are ineligible for Stated and Lite document types.]]></Message></IfMessages><ElseMessages></ElseMessages><Condition><Expression><Compute><Operator>AND</Operator><LeftOperand><Brace><Compute><Operator>OR</Operator><LeftOperand><Brace><Compute><Operator>==</Operator><LeftOperand><PPM Name="Document Type" Type="APM" /></LeftOperand><RightOperand><Constant>SIVA</Constant></RightOperand></Compute></Brace></LeftOperand><RightOperand><Brace><Compute><Operator>==</Operator><LeftOperand><PPM Name="Document Type" Type="APM" /></LeftOperand><RightOperand><Constant>Lite Doc</Constant></RightOperand></Compute></Brace></RightOperand></Compute></Brace></LeftOperand><RightOperand><Brace><Compute><Operator>OR</Operator><LeftOperand><Brace><Compute><Operator><></Operator><LeftOperand><PPM Name="Pr Borr Hghst Inc Self Employment" Type="APM" /></LeftOperand><RightOperand><Constant>1</Constant></RightOperand></Compute></Brace></LeftOperand><RightOperand><Brace><Compute><Operator><></Operator><LeftOperand><PPM Name="Is 1099 Earner-Prim Borr" Type="APM" /></LeftOperand><RightOperand><Constant>0</Constant></RightOperand></Compute></Brace></RightOperand></Compute></Brace></RightOperand></Compute></Expression></Condition><IfActions><Assign><AssignTo><DPM Name="Decision" Type="DSM" Order="0" ProductType="6" /></AssignTo><AssignValue><Expression><Constant>Referred</Constant></Expression></AssignValue></Assign></IfActions></Rule></Guideline></GuidelineRoot>
|