XSD validator leaks memory - probably related to xsd:any
--------------------------------------------------------
Key: XERCESC-1840
URL: https://issues.apache.org/jira/browse/XERCESC-1840
Project: Xerces-C++
Issue Type: Bug
Components: Validating Parser (XML Schema)
Affects Versions: 3.0.1
Environment: Windows XP, MSVC2005
Reporter: Johan Ditmar
Priority: Minor
When validating:
<?xml version="1.0" encoding="UTF-8"?>
<doc xsi:noNamespaceSchemaLocation="config.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:utils="urn:utils">
</doc>
using the schema:
<?xml version="1.0" encoding="utf-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="doc">
<xsd:complexType>
<xsd:sequence>
<xsd:any minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
A leak of 80 bytes is reported. This appears to be related to using xsd:any, as
I haven't seen this in other circumstances (yet)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]