OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   MSXML for Java Questions

[ Lists Home | Date Index | Thread Index ]
  • From: Marko Zerdin <marko.zerdin@ixtlan-team.si>
  • To: "'xml-dev@ic.ac.uk'" <xml-dev@ic.ac.uk>
  • Date: Thu, 9 Sep 1999 12:31:46 +0200

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@ic.ac.uk
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@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS