Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Gxml
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Canek Peláez Valdés
Gxml
Commits
55c390d1
Commit
55c390d1
authored
11 years ago
by
Richard Schwarting
Browse files
Options
Downloads
Patches
Plain Diff
BackedNode.vala: add a couple todo items to to_string
parent
0c4c4ef0
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gxml/BackedNode.vala
+17
-0
17 additions, 0 deletions
gxml/BackedNode.vala
with
17 additions
and
0 deletions
gxml/BackedNode.vala
+
17
−
0
View file @
55c390d1
...
@@ -296,6 +296,23 @@ namespace GXml {
...
@@ -296,6 +296,23 @@ namespace GXml {
}
}
public
override
string
to_string
(
bool
format
=
false
,
int
level
=
0
)
{
public
override
string
to_string
(
bool
format
=
false
,
int
level
=
0
)
{
/* TODO: change from xmlNodeDump and xmlBuffer
* to xmlBuf and xmlBufNodeDump; the former
* are 'somehow deprecated' (see xmlNodeDump
* doc); however, it's unclear how to create
* an xmlBuf right now : \ */
/* TODO: Consider loading documents with
* xmlKeepBlanksDefault(0) that would cause a
* loaded document to lose all of its blank
* space (space between <> and a
* non-whitespace) when loaded, allowing us to
* use format with xmlNodeDump in cases where
* the document contains a Text (format is
* ignored if Text is contained). This is
* probably a bad idea; we probably want to
* retain the whitespace we load with, and
* instead we might need to find some other
* way to implement formatting well. */
Xml
.
Buffer
*
buffer
;
Xml
.
Buffer
*
buffer
;
string
str
;
string
str
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment