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

wrong error message in 3.0-RC1 #224

Closed
rdeltour opened this issue Oct 15, 2013 · 1 comment
Closed

wrong error message in 3.0-RC1 #224

rdeltour opened this issue Oct 15, 2013 · 1 comment

Comments

@rdeltour
Copy link
Member

From google-c...@pragmata.tk on November 25, 2012 22:38:28

Checking an ePub file, I got the following error message:

ERROR: Όμηρος.epub/OPS/ilia__h_9.xhtml(147,98): value of attribute "id" is invalid; must be an XML name without colons

Well, checking other characteristics for valid ID values, according to http://www.w3.org/TR/REC-xml/#NT-NameStartChar , it seems that an ID value can start with and contain a colon?

Which is wrong: the error message or myself?

Many thanks for your help,

Pablo

Original issue: http://code.google.com/p/epubcheck/issues/detail?id=224

@rdeltour
Copy link
Member Author

From markus.g...@gmail.com on November 25, 2012 14:28:03

Hi Pablo,
we use XSD datatypes for the XHTML/XML tokens that have predefiend types. And there, its defined as an NCNAME, not a NAME.

According to http://www.w3.org/TR/xmlschema11-2/#ID : " The ·value space· of ID is the set of all strings that ·match· the NCName production in [Namespaces in XML]."

I guess the mismatch is for historical reasons, not sure.

Status: Responded

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

1 participant