You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Martin Goldhahn (Created) (JIRA)" <ji...@apache.org> on 2011/12/14 17:11:32 UTC
[jira] [Created] (CONNECTORS-318) Make it easier to trace XML
parsing errors
Make it easier to trace XML parsing errors
------------------------------------------
Key: CONNECTORS-318
URL: https://issues.apache.org/jira/browse/CONNECTORS-318
Project: ManifoldCF
Issue Type: Improvement
Components: Framework core
Reporter: Martin Goldhahn
Priority: Minor
I had a hard time tracking an erroneous response from Solr. All I got was something like this:
{{[Fatal Error] :112:120: The element type "HR" must be terminated by the matching end-tag "</HR>".}}
There was no indication what the error was an what component issued the error.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CONNECTORS-318) Make it easier to trace XML
parsing errors
Posted by "Martin Goldhahn (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CONNECTORS-318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Goldhahn updated CONNECTORS-318:
---------------------------------------
Attachment: XMLDoc.java.patch
The patch tries to write the input stream content that goes into the XML parser to the Logging.misc logger, if it has Debug enabled
(Attach again with license grant)
> Make it easier to trace XML parsing errors
> ------------------------------------------
>
> Key: CONNECTORS-318
> URL: https://issues.apache.org/jira/browse/CONNECTORS-318
> Project: ManifoldCF
> Issue Type: Improvement
> Components: Framework core
> Reporter: Martin Goldhahn
> Priority: Minor
> Attachments: XMLDoc.java.patch
>
>
> I had a hard time tracking an erroneous response from Solr. All I got was something like this:
> {{[Fatal Error] :112:120: The element type "HR" must be terminated by the matching end-tag "</HR>".}}
> There was no indication what the error was an what component issued the error.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CONNECTORS-318) Make it easier to trace XML
parsing errors
Posted by "Karl Wright (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CONNECTORS-318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karl Wright resolved CONNECTORS-318.
------------------------------------
Resolution: Fixed
r1228768
> Make it easier to trace XML parsing errors
> ------------------------------------------
>
> Key: CONNECTORS-318
> URL: https://issues.apache.org/jira/browse/CONNECTORS-318
> Project: ManifoldCF
> Issue Type: Improvement
> Components: Framework core
> Affects Versions: ManifoldCF 0.5
> Reporter: Martin Goldhahn
> Assignee: Karl Wright
> Priority: Minor
> Fix For: ManifoldCF 0.5
>
> Attachments: XMLDoc.java.patch
>
>
> I had a hard time tracking an erroneous response from Solr. All I got was something like this:
> {{[Fatal Error] :112:120: The element type "HR" must be terminated by the matching end-tag "</HR>".}}
> There was no indication what the error was an what component issued the error.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CONNECTORS-318) Make it easier to trace XML
parsing errors
Posted by "Martin Goldhahn (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CONNECTORS-318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Goldhahn updated CONNECTORS-318:
---------------------------------------
Attachment: XMLDoc.java.patch
The patch tries to write the input stream content that goes into the XML parser to the Logging.misc logger, if it has Debug enabled
> Make it easier to trace XML parsing errors
> ------------------------------------------
>
> Key: CONNECTORS-318
> URL: https://issues.apache.org/jira/browse/CONNECTORS-318
> Project: ManifoldCF
> Issue Type: Improvement
> Components: Framework core
> Reporter: Martin Goldhahn
> Priority: Minor
> Attachments: XMLDoc.java.patch
>
>
> I had a hard time tracking an erroneous response from Solr. All I got was something like this:
> {{[Fatal Error] :112:120: The element type "HR" must be terminated by the matching end-tag "</HR>".}}
> There was no indication what the error was an what component issued the error.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CONNECTORS-318) Make it easier to trace XML
parsing errors
Posted by "Martin Goldhahn (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CONNECTORS-318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Goldhahn updated CONNECTORS-318:
---------------------------------------
Attachment: (was: XMLDoc.java.patch)
> Make it easier to trace XML parsing errors
> ------------------------------------------
>
> Key: CONNECTORS-318
> URL: https://issues.apache.org/jira/browse/CONNECTORS-318
> Project: ManifoldCF
> Issue Type: Improvement
> Components: Framework core
> Reporter: Martin Goldhahn
> Priority: Minor
> Attachments: XMLDoc.java.patch
>
>
> I had a hard time tracking an erroneous response from Solr. All I got was something like this:
> {{[Fatal Error] :112:120: The element type "HR" must be terminated by the matching end-tag "</HR>".}}
> There was no indication what the error was an what component issued the error.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CONNECTORS-318) Make it easier to trace XML
parsing errors
Posted by "Karl Wright (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CONNECTORS-318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karl Wright updated CONNECTORS-318:
-----------------------------------
Affects Version/s: ManifoldCF 0.5
Fix Version/s: ManifoldCF 0.5
Assignee: Karl Wright
Although it's far better to have the Solr connector handle its own diagnostics, this patch may still be helpful upon occasion, so I recommend committing it.
> Make it easier to trace XML parsing errors
> ------------------------------------------
>
> Key: CONNECTORS-318
> URL: https://issues.apache.org/jira/browse/CONNECTORS-318
> Project: ManifoldCF
> Issue Type: Improvement
> Components: Framework core
> Affects Versions: ManifoldCF 0.5
> Reporter: Martin Goldhahn
> Assignee: Karl Wright
> Priority: Minor
> Fix For: ManifoldCF 0.5
>
> Attachments: XMLDoc.java.patch
>
>
> I had a hard time tracking an erroneous response from Solr. All I got was something like this:
> {{[Fatal Error] :112:120: The element type "HR" must be terminated by the matching end-tag "</HR>".}}
> There was no indication what the error was an what component issued the error.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira