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 "Alberto Massari (JIRA)" <xe...@xml.apache.org> on 2008/11/12 13:07:44 UTC

[jira] Resolved: (XERCESC-1840) XSD validator leaks memory - probably related to xsd:any

     [ https://issues.apache.org/jira/browse/XERCESC-1840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alberto Massari resolved XERCESC-1840.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.1
         Assignee: Alberto Massari

It has been fixed a couple of weeks ago (see http://svn.apache.org/viewvc?view=rev&revision=708914)

Alberto

> 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
>            Assignee: Alberto Massari
>            Priority: Minor
>             Fix For: 3.0.1
>
>
> 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