[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xerces-c-dev
Subject:    [jira] Created: (XERCESC-1840) XSD validator leaks memory -
From:       "Johan Ditmar (JIRA)" <xerces-c-dev () xml ! apache ! org>
Date:       2008-11-11 17:17:44
Message-ID: 1294529334.1226423864438.JavaMail.jira () brutus
[Download RAW message or body]

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: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic