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] SAX Question

[ Lists Home | Date Index | Thread Index ]

"Bullard, Claude L (Len)" scripsit:

> Given
> 
> <mydoc 
> att1="somevalue"
> att2="someother,another,yetanother"
> att3="stillmore" />
> 
> or 
> 
> <mydoc 
> att1="somevalue"
> att2="someother,another,yetanother"
> att3="stillmore">
> </mydoc>
> 
> shouldn't SAX treat these identically?

Not quite.  SAX should deliver a newline character between the tags
in the second case, no character event in the first case.

> The odd result is that using XMLReader (MS), 
> the second guy results in a call to the 
> error handler and the first doesn't.  Is that right?

No.

-- 
John Cowan <jcowan@reutershealth.com>     http://www.reutershealth.com
I amar prestar aen, han mathon ne nen,    http://www.ccil.org/~cowan
han mathon ne chae, a han noston ne 'wilith.  --Galadriel, _LOTR:FOTR_

  • References:
    • SAX Question
      • From: "Bullard, Claude L (Len)" <clbullar@ingr.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