Ticket #1 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Namespaces are not being preserved in XML Literals

Reported by: msporny Owned by: msporny
Priority: major Milestone: 1.0
Component: parser Version: 0.12
Keywords: XML Literals Cc:

Description

The current RDFa Syntax document requires that namespaces and languages are preserved in XML Literals. The current parser fails to preserve namespaces in complex cases such as TC#91-94 and TC#100-103.

Change History

Changed 4 years ago by msporny

  • status changed from new to assigned

Changed 4 years ago by msporny

  • status changed from assigned to closed
  • resolution set to fixed

Namespaces are now preserved in XML Literals. Fixes are included in the following git checkins:

17:29 Changeset [f82c0941956254847e8d51654759b2b45dc00088] by Manu Sporny <msporny@…>

Fixed a bug that was causing TC#103 to fail. Namespaces were being overwritten when one with the same name existed on an XML Literal. The pre-existing namespace is no longer overwritten.

16:13 Changeset [571cca8f33e03713f5f5c5893babea063af1c123] by Manu Sporny <msporny@…>

Fixed a number of bugs that were causing TC#100, TC#101, and TC#102 to fail. Namespaces and language information is now inserted correctly into XML Literals. Languages are not overwritten if they exist.

14:36 Changeset [c4cbc6aded8dc57ea4138364aaa0d9b23f1f9495] by Manu Sporny <msporny@…>

Fixed a bug that was causing TC#94 to fail. Plain text concatenated typed literals are now correctly generated for elements that contain both a user-defined datatype and XML inner text.

Note: See TracTickets for help on using tickets.