You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Slava G (JIRA)" <xe...@xml.apache.org> on 2018/09/16 12:43:00 UTC

[jira] [Comment Edited] (XERCESJ-1702) Parsing XML

    [ https://issues.apache.org/jira/browse/XERCESJ-1702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16616702#comment-16616702 ] 

Slava G edited comment on XERCESJ-1702 at 9/16/18 12:42 PM:
------------------------------------------------------------

Well, now what can I do here ?

Thanks

BTW, I see that heap is pretty stable, it's high, but stable :

!image-2018-09-16-15-42-10-121.png!


was (Author: slavago):
Well, now what can I do here ?

Thanks

> Parsing XML 
> ------------
>
>                 Key: XERCESJ-1702
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1702
>             Project: Xerces2-J
>          Issue Type: Bug
>    Affects Versions: 2.12.0
>            Reporter: Slava G
>            Priority: Major
>         Attachments: 1_e3e13f0e-7085-4000-a558-5d255ed7a944.xml, image-2018-09-16-15-42-10-121.png
>
>
> Hi,
> When I'm trying to parse XML document using :
> _DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();_
> _DocumentBuilder builder = factory.newDocumentBuilder();_
> _builder.parse(File)_
>  
> The parsing is stuck in infinite loop:
> {{XMLDocumentScannerImpl(XMLScanner).scanAttributeValue(XMLString, XMLString, String, boolean, String) line: not available }}
> {{ XMLDocumentScannerImpl(XMLDocumentFragmentScannerImpl).scanAttribute(XMLAttributes) line: not available }}
> {{ XMLDocumentScannerImpl(XMLDocumentFragmentScannerImpl).scanStartElement() line: not available }}
> {{ XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook() line: not available }}
> {{ XMLDocumentScannerImpl$ContentDispatcher(XMLDocumentFragmentScannerImpl$FragmentContentDispatcher).dispatch(boolean) line: not available }}
> {{ XMLDocumentScannerImpl(XMLDocumentFragmentScannerImpl).scanDocument(boolean) line: not available }}
> {{ XIncludeAwareParserConfiguration(XML11Configuration).parse(boolean) line: not available }}
> {{ XIncludeAwareParserConfiguration(XML11Configuration).parse(XMLInputSource) line: not available }}
> {{ DOMParser(XMLParser).parse(XMLInputSource) line: not available }}
> {{ DOMParser.parse(InputSource) line: not available }}
> {{ DocumentBuilderImpl.parse(InputSource) line: not available }}
> {{ DocumentBuilderImpl(DocumentBuilder).parse(File) line: 205}}
>  
> Please see attached XML file that cause this issue.
> Thanks



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org