Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incomplete data returned by synchronous queries during Taplint validation #9

Open
stvoutsin opened this issue Apr 14, 2021 · 0 comments

Comments

@stvoutsin
Copy link
Contributor

Description
Taplint produces an error with a Synchronous query to TAP_SCHEMA
"The element type "TD" must be terminated by the matching end-tag "".
This seems to be related to #7 where requests return incomplete data

TAP URL:
http://tap.roe.ac.uk/vsa

Exception Stack Trace:

I-TMS-QGET-6 Query GET URL: http://tap.roe.ac.uk/firethorn/tap/59/sync?REQUEST=doQuery&LANG=ADQL&QUERY=SELECT+principal%2C+indexed%2C+std%2C+%22size%22+FROM+TAP_SCHEMA.columns&MAXREC=115075
E-TMS-VOUR-1 (l.1, c.3895407): The element type "TD" must be terminated by the matching end-tag "</TD>".
E-TMS-CERR-1 Error reading TAP_SCHEMA.columns data [Result parse error: The element type "TD" must be terminated by the matching end-tag "</TD>".]
java.io.IOException: Result parse error: The element type "TD" must be terminated by the matching end-tag "</TD>".
	at uk.ac.starlink.ttools.taplint.TapSchemaStage$LintTapSchemaInterrogator.executeQuery(TapSchemaStage.java:827)
	at uk.ac.starlink.ttools.taplint.TapSchemaStage$LintTapSchemaInterrogator.checkColumnTypes(TapSchemaStage.java:848)
	at uk.ac.starlink.ttools.taplint.TapSchemaStage.readTableMetadata(TapSchemaStage.java:73)
	at uk.ac.starlink.ttools.taplint.TableMetadataStage.run(TableMetadataStage.java:95)
	at uk.ac.starlink.ttools.taplint.TapSchemaStage.run(TapSchemaStage.java:47)
	at uk.ac.starlink.ttools.taplint.TapLinter$4.execute(TapLinter.java:234)
	at uk.ac.starlink.ttools.task.LineInvoker.invoke(LineInvoker.java:303)
	at uk.ac.starlink.ttools.Stilts.main(Stilts.java:50)
Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 3895407; The element type "TD" must be terminated by the matching end-tag "</TD>".
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1239)
	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
	at uk.ac.starlink.ttools.taplint.VotLintTapRunner.readResultDocument(VotLintTapRunner.java:277)
	at uk.ac.starlink.ttools.taplint.VotLintTapRunner.readResultDocument(VotLintTapRunner.java:205)
	at uk.ac.starlink.ttools.taplint.VotLintTapRunner.executeQuery(VotLintTapRunner.java:112)
	at uk.ac.starlink.ttools.taplint.TapRunner.attemptGetResultTable(TapRunner.java:79)
	at uk.ac.starlink.ttools.taplint.TapSchemaStage$LintTapSchemaInterrogator.executeQuery(TapSchemaStage.java:823)
	... 7 more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant