[ 
https://issues.apache.org/jira/browse/XERCESC-1840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12646892#action_12646892
 ] 

Boris Kolpackov commented on XERCESC-1840:
------------------------------------------

Wanted to add that we are thinking of releasing 3.0.1 in a few weeks with this 
and a few other fixes. I am also attaching a patch to this report which 
includes all the fixes in the 3.0.1 branch compared to 3.0.0 available at this 
moment.

> 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.0
>         Environment: Windows XP, MSVC2005
>            Reporter: Johan Ditmar
>            Assignee: Alberto Massari
>            Priority: Minor
>             Fix For: 3.0.1
>
>         Attachments: 3.0.1.patch
>
>
> 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]

Reply via email to