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

Illegal ids in nexml #10

Open
mtholder opened this issue Feb 17, 2014 · 2 comments
Open

Illegal ids in nexml #10

mtholder opened this issue Feb 17, 2014 · 2 comments

Comments

@mtholder
Copy link

HI, I have the strong suspicion that I am reporting this issue to the wrong repo. Sorry about that, I'm not sure which repo stores the tool that creates these files...

For files like: https://raw.github.com/phenoscape/phenoscape-data/master/Curation%20Files/completed-phenex-files/Characiformes/Buckup_1998.xml

I am getting nexml validation errors:

Error validating [../phenoscape/nexml] against [../nexml/xsd/nexml.xsd]:

cvc-datatype-valid.1.2.1: '4341922c-a479-4088-b02e-42a0e248a825' is not a valid value for 'NCName'.

4341922c-a479-4088-b02e-42a0e248a825 is an otu ID.
I think that IDs have to start with a letter or underscore. See http://www.w3.org/TR/1999/REC-xml-names-19990114/#NT-NCName

@mtholder
Copy link
Author

Sorry. I should have pointed out that I was am using code from http://code.google.com/p/xml-validator/ to validate against the nexml schema from github (commit 47e35d14665ea921c170253879262bdf20a278ec), and that is what is giving the error

@balhoff
Copy link
Member

balhoff commented Feb 17, 2014

Thanks @mtholder, the problem is with Phenex: issue phenoscape/Phenex/issues/76

This hasn't been a practical problem for our toolchain so I've been slow to get to it.

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

No branches or pull requests

2 participants