<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<BASE
href="file://E:\Program Files\Common Files\Microsoft Shared\Stationery\">
<STYLE>BODY {
        BACKGROUND-POSITION: left top; FONT-SIZE: 10pt; COLOR: #000000; BACKGROUND-REPEAT: no-repeat; FONT-FAMILY: Arial
}
</STYLE>
<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=535265520-09102001>This happened to me. I ended up
using the Crimson package, its an implementation of JAXP1.1 by the apache
group. </SPAN></DIV>
<DIV><SPAN class=535265520-09102001>That worked fine: </SPAN><SPAN
class=535265520-09102001><A
href="http://xml.apache.org/crimson/index.html">http://xml.apache.org/crimson/index.html</A></SPAN></DIV>
<DIV><SPAN class=535265520-09102001></SPAN> </DIV>
<DIV><SPAN class=535265520-09102001>I also had this same problem using MSXML3
& COM. I couldn't use another package for that, so I added a
hack that</SPAN></DIV>
<DIV><SPAN class=535265520-09102001>inserted <!-- --> into the
stream after reading the <stream:stream> tag. That forced
MSXML to fire a start element event.</SPAN></DIV>
<DIV><SPAN class=535265520-09102001></SPAN> </DIV>
<DIV><SPAN class=535265520-09102001>Good Luck,</SPAN></DIV>
<DIV><SPAN class=535265520-09102001></SPAN> </DIV>
<DIV><SPAN class=535265520-09102001>-Robert</SPAN></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT
face=Tahoma>-----Original Message-----<BR><B>From:</B> John Bell
[mailto:johnbell@telus.net]<BR><B>Sent:</B> Monday, October 08, 2001 11:17
PM<BR><B>To:</B> jdev@jabber.org<BR><B>Subject:</B> [JDEV] Using Java Socket
and JAXP1.1 DefaultHandler<BR><BR></FONT></DIV>
<DIV>Hi,</DIV>
<DIV>I'm having a problem using the Java Socket object and the JAXP1.1
SAXParser DefaultHandler. To post all the code would make for a really long
post so I'm hoping an explaination will be sufficient. I connect ok to
jabber.org but it seems that my handler for the <stream:stream> element
doesn't get processed by the parser until the end element is captured,
i.e. by sending "</stream:stream>" to the server, making it
impossible to capture the initialization success event (by processing the
<stream:stream> starting element) and thus making it impossible to
process an xml conversation. Has anyone one seen this or I am I doing
something wrong along the way somewhere.</DIV>
<DIV> </DIV>
<DIV>Thanks, John</DIV>
<DIV> </DIV></BLOCKQUOTE></BODY></HTML>