Re: [xml] hexBinary type implementation in xmlschemastypes.c

On Fri, Jul 11, 2003 at 01:25:40PM +0200, Peter Sobisch wrote:
Hi Daniel, Hi All,

the recently implementation of hexBinary in xmlschemastypes.c causes
segmentation fault if the value is a NULL pointer (because of char comparison).
This case occurres if a hexBinary Node looks like this: <node/>.

  Hum, I can't reproduce this:

paphio:~/XML -> cat tst.xml
paphio:~/XML -> cat tst.rng
<element name="node" xmlns="";
  <data type="hexBinary"/>
paphio:~/XML -> xmllint --noout --relaxng tst.rng tst.xml
tst.xml validates
paphio:~/XML ->

 what's missing ?


Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]