mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 08:46:55 +08:00
1 parent
444c01b976
commit
e9caaa4193
31 files changed
+639
-182
No files matched your search
@@ -135,7 +135,7 @@ func editorXMLRemapIDs(data []byte, root *editorXML, ids map[string]string) ([]b
|
||||
var patches []editorXMLPatch
|
||||
var visit func(*editorXML) error
|
||||
visit = func(node *editorXML) error {
|
||||
if node.name.Space == "" || node.name.Space == ofdNamespace || node.name.Space == "http://www.ofdspec.org" {
|
||||
if classifyOFDNamespace(node.name.Space) != ofdXMLUnknown {
|
||||
decoder := xml.NewDecoder(bytes.NewReader(data[node.start:node.open]))
|
||||
token, err := decoder.RawToken()
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user