Skip to content

Named character references in HTML5 kill parsing #9

@kaefer3000

Description

@kaefer3000

Hi,

parsing http://schema.org/Person with rapper, I stumbled upon the following problem and I guess it is caused by librdfa: The page containes named character references (see HTML5 spec) such as   and because HTML5 does not come with a DTD, the ones exceeding the default XML escapes are considered undefined thus stopping the parsing with an error:
rapper: Error - - XML parser error: Entity 'nbsp' not defined
Yet, those escapes are allowed in HTML5 and around and it would therefore be great if librdfa could support them.

Cheers,

Tobias

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions