Trying to get DOMPrint to do schema validation with the following. Why doesn't 
it look at the schema? Why does it not know that xsi is a namespace defined by 
by the xmlns attribute? When I turn on the namespace option (-n) it just hangs 
there! Thanks for help! - Vijay

$ DOMPrint -v=always  -s -f gtsEquityBlock.xml
Error at 
file "/home/vb11258/work/zas_apps/cmd/EASL/DOMPrint/gtsEquityBlock.xml", line 
3, column 16
   Message: Unknown element 'gtsEquityBlock'
Error at 
file "/home/vb11258/work/zas_apps/cmd/EASL/DOMPrint/gtsEquityBlock.xml", line 
3, column 27
   Message: Attribute 'xmlns:xsi' is not declared for element 'gtsEquityBlock'
Error at 
file "/home/vb11258/work/zas_apps/cmd/EASL/DOMPrint/gtsEquityBlock.xml", line 
3, column 101
   Message: Attribute 'xsi:noNamespaceSchemaLocation' is not declared for 
element 'gtsEquityBlock'
Error at 
file "/home/vb11258/work/zas_apps/cmd/EASL/DOMPrint/gtsEquityBlock.xml", line 
4, column 9
   Message: Unknown element 'msgHdr'
.....
.....

================ gtsEquityBlock.xml ================ 
<?xml version="1.0" encoding="UTF-8"?>
<!--Sample XML file generated by XMLSpy v2007 (http://www.altova.com)-->
<gtsEquityBlock xsi:noNamespaceSchemaLocation="GTS-Oasys.xsd" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
        <msgHdr>
                <dateTime>2147483647</dateTime>
                <institution>aaaaaaaa</institution>
                <broker>aaaaaaaa</broker>
                <reference>100001</reference>
                <version>4096</version>
                <brkrIntRef>aaaaaaaaaaaaaaaa</brkrIntRef>
                <instIntRef>aaaaaaaaaaaaaaaa</instIntRef>
        </msgHdr>...
...
</gtsEquityBlock>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to