You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by ji...@apache.org on 2004/06/13 16:31:10 UTC

[jira] Updated: (XERCESC-1227) DOMDocument->getDocumentElement() returns NULL without any exception

The following issue has been updated:

    Updater: Emmanuel C (mailto:manuco@club-internet.fr)
       Date: Sun, 13 Jun 2004 7:30 AM
    Comment:
the file
(gziped to ensure that the data will be tranferred in binry)
    Changes:
             Attachment changed to xerces.bug.gz
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/XERCESC-1227?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XERCESC-1227

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XERCESC-1227
    Summary: DOMDocument->getDocumentElement() returns NULL without  any exception
       Type: Bug

     Status: Unassigned
   Priority: Minor

    Project: Xerces-C++
 Components: 
             Samples/Tests
   Versions:
             2.5.0

   Assignee: 
   Reporter: Emmanuel C

    Created: Sun, 13 Jun 2004 7:27 AM
    Updated: Sun, 13 Jun 2004 7:30 AM
Environment: Linux i386

Description:
I have parsed a special file encoded in ISO-8859 (command file) where its spaces are special characters (not the classical space character).

When parsing, there is no error, no exception, no warning. But DOMDocument->getDocumentElement() returns the NULL value (this case is not mentionned in the the documentation).

Here is a dump of the file :
00000000  3c 6e 6f 64 65 3e 0a a0  a0 a0 3c 70 72 6f 70 65  |<node>.   <prope|
00000010  72 74 69 65 73 3e 0a a0  a0 3c 2f 70 72 6f 70 65  |rties>.  </prope|
00000020  72 74 69 65 73 3e 0a 3c  2f 6e 6f 64 65 3e 0a 0a  |rties>.</node>..|
00000030  0a 3c 21 2d 2d 20 65 6f  66 20 2d 2d 3e 0a        |.<!-- eof -->.|
0000003e



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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