semsol / arc2

ARC RDF Classes for PHP
Other
332 stars 89 forks source link

RDF/XML serializer does not handle invalid QNames starting with digits in a very elegant way #98

Open jaw111 opened 6 years ago

jaw111 commented 6 years ago

If I have a property URI like http://example.com/vocab#123abc the RDF/XML serializer generates an invalid QName msg0:123abc where xmlns:msg0="http://example.com/vocab#", which results in invalid XML output.

Would be better if it would generate QName msg0:abc where xmlns:msg0="http://example.com/vocab#123".