Skip to content
This repository was archived by the owner on Jul 11, 2023. It is now read-only.
This repository was archived by the owner on Jul 11, 2023. It is now read-only.

Execption thrown when reading in "�" #67

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?

1. use xml
<?xml version="1.0" ?>
<element_name value_name="&#x00;" />

2. read in the xml
BYTE value_name = p_element_options->GetAttribute<BYTE>("value_name");

What is the expected output? What do you see instead?
expecting value_name == 0
receive exception thrown

What version of the product are you using? On what operating system?


Please provide any additional information below.
ticpp.h
line 190
std::istringstream val( temp );
val >> *out;
This fails when *temp is 0.
However, temp is 0 by design as this is the correct value when parsed.



Original issue reported on code.google.com by d...@mcro.org on 21 Dec 2011 at 11:37

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions