fix tagregex #1436

Closed
sime1 wants to merge 0 commits from master into master
sime1 commented 2019-02-22 11:15:46 +00:00 (Migrated from github.com)

The regulare expression used to find tags in XML did not allow multiple whitespaces at the end of the tag. For this reason, trying to read an xlsx file with a [Content_Types].xml similar to this:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types" 
>
...

resulted in an error (Unknown namespace: ), while the same file could be opened without problems in Excel.

The regulare expression used to find tags in XML did not allow multiple whitespaces at the end of the tag. For this reason, trying to read an xlsx file with a `[Content_Types].xml` similar to this: ```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types" > ... ``` resulted in an error (`Unknown namespace: `), while the same file could be opened without problems in Excel.

Pull request closed

Sign in to join this conversation.
No description provided.