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

Handle CDATA results #26

Open
mmalmeida opened this issue Jul 30, 2014 · 2 comments
Open

Handle CDATA results #26

mmalmeida opened this issue Jul 30, 2014 · 2 comments
Milestone

Comments

@mmalmeida
Copy link

Example: http://www.scielo.oces.mctes.pt/oai/scielo-oai.php?verb=ListSets&metadataPrefix=oai_dc

The result text is inside CDATA elements. How should this result be handled?

0003-2573
@joao-de-melo joao-de-melo added this to the 3.3.0 milestone Jul 30, 2014
@joao-de-melo
Copy link
Member

This is an edge case, but I recon that the parser should be able to read such content.

@joao-de-melo joao-de-melo modified the milestones: 3.3.0, 4.1.0, 4.2.0 Jul 30, 2014
@mmalmeida
Copy link
Author

Adding further information to this issue, what seems to not be working is the situation where more than one CDATA element is present. E.g. <<![CDATA[First CDATA, ]]><![CDATA[Second CDATA]]>> should result in "First CDATA, Second CDATA", but (in ListSetsParser) it is resulting in "First CDATA, ".

Note that this only happens in ListSetsParser.

@mmalmeida mmalmeida mentioned this issue Jul 31, 2014
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

2 participants