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

Support XML files in datagen #153

Open
psybers opened this issue Aug 10, 2017 · 4 comments
Open

Support XML files in datagen #153

psybers opened this issue Aug 10, 2017 · 4 comments

Comments

@psybers
Copy link
Member

psybers commented Aug 10, 2017

This should interact well with any potential HTML support.

@RobertHSchmidt
Copy link
Contributor

Any preference on which parser we use?
I am looking at
JDOM https://www.tutorialspoint.com/java_xml/java_dom_parse_document.htm
XOM http://xom.nu/
and DOM4J https://dom4j.github.io/

@psybers
Copy link
Member Author

psybers commented Nov 16, 2017

Any reason to not use the built in XML processing in JDK? Also I would vote for any that use a DOM representation (vs a SAX event model) so that the translation to Boa AST is similar to other languages.

@nguyenhoan
Copy link
Contributor

Hi Bob,

I saw you added code for parsing XML.
Could you tell us a bit about your choice for the parser?

@RobertHSchmidt
Copy link
Contributor

I did some google searches on XML dom parsers and this one was well rated, it was also open source on github which helped design the visitor.

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

3 participants