|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] MSXML for Java Questions
Hi everybody.
1) Does anybody know if Microsoft is going to support public (free) MSXML
packages for Java? The signals from Microsoft have been far from unanimous.
2) I also have an interesting problem. I'm using Visual J++ for development
environment, and com.ms.xml.om package for parsing XML
(Document.load(InputStream) method, didn't try the other versions because I
need just this one). The problem is with the following code (I've made it
the shortest XML that produces this problem):
<?xml version="1.0" encoding="ISO-8859-2"?>
<Document>
<Structures>
<BankAccountInfo>
<BankNumberCode>value</BankNumberCode>
<BankAccountTypeID>value</BankAccountTypeID>
<BankAccountPart1>value</BankAccountPart1>
<BankAccountPart2>value</BankAccountPart2>
<BankAccountPart3>value</BankAccountPart3>
</BankAccountInfo>
</Structures>
<Messages>
<Transactions>
<t_Transaction>
<CashAccount>
<BankAccountInfo>
<BankNumberCode>value</BankNumberCode>
<BankAccountTypeID>value</BankAccountTypeID>
<BankAccountPart1>value</BankAccountPart1>
<BankAccountPart2>value</BankAccountPart2>
<BankAccountPart3>value</BankAccountPart3>
</BankAccountInfo>
</CashAccount>
</t_Transaction>
</Transactions>
</Messages>
</Document>
When I call the method Document.load(InputStream), I get the following
error:
Line 19, Column 44: Close tag BankAccountPart1 does not match start tag
BankAccountPart1.
I've also found out, that I don't have this error if I remove one letter
from the tag (for example, if I replace BankAccountPart in the tags by
BankAccountPar).
If anybody knows the problem and is able to explain to me, what's the rule
for this error to occur, I would really appreciate it.
Regards,
Marko.
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








