You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Guillaume Berche <gu...@eloquant.com> on 2004/05/26 15:51:39 UTC

check-character-normalization for SAX parser?

Hello,

The "Character Model for the World Wide Web 1.0" W3C draft specs at
http://www.w3.org/TR/2003/WD-charmod-20030822/#sec-Normalization advice to
perform character normalization.

After a brief look at the Xerces documentation, I see there is a feature
that can be turned on for the Dom parser (the check-character-normalization
and maybe datatype-normalization)
See http://xml.apache.org/xerces2-j/dom3.html

I wonder if there is a way to configure Xerces to do the same thing when
used from the SAX API?

Thanks in advance for your help,

Guillaume.



---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org


RE: check-character-normalization for SAX parser?

Posted by Guillaume Berche <gu...@eloquant.com>.
Michael,

Thanks a lot for your response. Does anyone within the Xerces development
team as insights as whether and in which version XercesJ might support this
SAX feature.

Thanks again and best regards,
Guillaume.

  -----Original Message-----
  From: Michael Glavassevich [mailto:mrglavas@ca.ibm.com]
  Sent: jeudi 27 mai 2004 06:09
  To: xerces-j-user@xml.apache.org
  Subject: Re: check-character-normalization for SAX parser?



  Hello Guillaume,

  The newly released SAX 2.0.2 [1] defines a feature:
http://xml.org/sax/features/unicode-normalization-checking, which controls
whether normalization checking is performed as specified by XML 1.1 [2]. The
version of Xerces in CVS recognizes this feature, however setting it to true
is not supported yet.

  [1] http://sourceforge.net/project/shownotes.php?release_id=234402
  [2]
http://www.w3.org/TR/2004/REC-xml11-20040204/#sec-normalization-checking

  "Guillaume Berche" <gu...@eloquant.com> wrote on 05/26/2004
09:51:39 AM:

  > Hello,
  >
  > The "Character Model for the World Wide Web 1.0" W3C draft specs at
  > http://www.w3.org/TR/2003/WD-charmod-20030822/#sec-Normalization advice
to
  > perform character normalization.
  >
  > After a brief look at the Xerces documentation, I see there is a feature
  > that can be turned on for the Dom parser (the
check-character-normalization
  > and maybe datatype-normalization)
  > See http://xml.apache.org/xerces2-j/dom3.html
  >
  > I wonder if there is a way to configure Xerces to do the same thing when
  > used from the SAX API?
  >
  > Thanks in advance for your help,
  >
  > Guillaume.
  >
  >
  >
  > ---------------------------------------------------------------------
  > To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
  > For additional commands, e-mail: xerces-j-user-help@xml.apache.org
  >

  Michael Glavassevich
  XML Parser Development
  IBM Toronto Lab
  E-mail: mrglavas@ca.ibm.com
  E-mail: mrglavas@apache.org

Re: check-character-normalization for SAX parser?

Posted by Michael Glavassevich <mr...@ca.ibm.com>.
Hello Guillaume,

The newly released SAX 2.0.2 [1] defines a feature: 
http://xml.org/sax/features/unicode-normalization-checking, which controls 
whether normalization checking is performed as specified by XML 1.1 [2]. 
The version of Xerces in CVS recognizes this feature, however setting it 
to true is not supported yet.

[1] http://sourceforge.net/project/shownotes.php?release_id=234402
[2] 
http://www.w3.org/TR/2004/REC-xml11-20040204/#sec-normalization-checking

"Guillaume Berche" <gu...@eloquant.com> wrote on 05/26/2004 
09:51:39 AM:

> Hello,
> 
> The "Character Model for the World Wide Web 1.0" W3C draft specs at
> http://www.w3.org/TR/2003/WD-charmod-20030822/#sec-Normalization advice 
to
> perform character normalization.
> 
> After a brief look at the Xerces documentation, I see there is a feature
> that can be turned on for the Dom parser (the 
check-character-normalization
> and maybe datatype-normalization)
> See http://xml.apache.org/xerces2-j/dom3.html
> 
> I wonder if there is a way to configure Xerces to do the same thing when
> used from the SAX API?
> 
> Thanks in advance for your help,
> 
> Guillaume.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-j-user-help@xml.apache.org
> 

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@ca.ibm.com
E-mail: mrglavas@apache.org