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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] Problem parsing XML file with Xerces-J

[ Lists Home | Date Index | Thread Index ]
  • To: Michael Kay <mike@saxonica.com>, 'Midsummer Sun' <midsummer.sun@gmail.com>, 'David Lyon' <david.lyon@computergrid.net>
  • Subject: RE: [xml-dev] Problem parsing XML file with Xerces-J
  • From: Mukul Gandhi <mukul_gandhi@yahoo.com>
  • Date: Tue, 5 Apr 2005 01:05:34 -0700 (PDT)
  • Cc: xml-dev@lists.xml.org
  • Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=weC8gd4IqxPbwqi5QNmgSPQiyCnXhDrNSGZOfItUSgKZYxhsAdBWUc/LpfXYxUQnyTzbzxrT/1AdRz3wp884eTqBJK4m8Dtht8udMRkjnlhppSOzX3caYeWnLYk1asiIzUy3A2k5Eps9e6LW2bcAkXfODu3QcKIl/PoSkzsTNic= ;
  • In-reply-to: 6667

Hello,
  I sent this comment to jsr-173-comments@jcp.org few
days back..

"JSR 173 is indeed good. I have *one* suggestion..
(reference file: jsr173_1.0.pdf)

   I was reading the JSR 173 (Streaming API for XML)..
In section "5.1.2 Reading Attributes and Namespaces"
various methods for getting attribute information are
listed. One of the method is String
getAttributeValue(String namespaceUri,String
localName); It seems *we must* supply the namespace
URI to this method to get the attribute value. 

But sometimes the XML document does'nt have
namespaces. So in the above method, the namespaceUri
argument must be optional.. 
"

I have not recieved any response so far (JSR people
are surely busy people!).. Is this a valid point or I
am wrong?

Regards,
Mukul

--- Michael Kay <mike@saxonica.com> wrote:
> > Can the new StAX streaming parser provide a
> performance boost to my
> > application! In this case, my application will
> pull events from the
> > XML (in a serial fashion). This will give me same
> performance as SAX.
> > I cannot use SAX, because there is no way to push
> events to my
> > application. DOM is surely slow ! I think StAX is
> still an emerging
> > technology, and the drivers are not as robust as
> today's SAX parsers.
> 
> Yes, I have been very disappointed by the
> reliability of the StAX parsers
> from BEA and Sun, and by the fact that they don't
> seem to be moving forward
> aggressively.
> 
> Michael Kay
> http://www.saxonica.com/
> 
> 
> 
>
-----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org
> <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> 
> The list archives are at
> http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this list use the
> subscription
> manager:
> <http://www.oasis-open.org/mlmanage/index.php>
> 
> 


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Personals - Better first dates. More second dates. 
http://personals.yahoo.com





 

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

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