Comments (3)
Correction: the program shall output all named nodes, as all nodes are parents
of at least one node.
The attached patch seems to correct the issue. With this patch the poc program
outputs
test_node
node
root
documentRoot
Which is expected.
One question remains about the last printed element - According to the XPath
recommandation sec. 5.1
(http://www.w3.org/TR/1999/REC-xpath-19991116/#root-node) "The root node does
not have an expanded-name." - thus, roxml may be wrong when it shows it.
Original comment by emmanueldeloget53
on 26 Jun 2012 at 9:31
Attachments:
from libroxml.
Original comment by blunderer
on 26 Jun 2012 at 12:46
from libroxml.
Original comment by blunderer
on 26 Jun 2012 at 12:47
- Changed state: Fixed
from libroxml.
Related Issues (20)
- Broken fuse.xml build HOT 3
- Broken pyroxml library build HOT 2
- XPATH condition evaluation fails when a tested value contains / HOT 1
- Stack overflow in roxml_lookup_nsdef HOT 4
- afl-fuzz: many unique crashes found HOT 1
- afl-fuzz: additional crashing test cases HOT 6
- Any explicit support for encodings utf-8? HOT 2
- Unclear licensing between repo and webpage HOT 2
- broken test runner in trunk "Cannot find source file: /unittest/src/roxml_buff.c" HOT 1
- failing tests HOT 3
- Is it really on Google Code? HOT 1
- add support for utf-8
- Libroxml does not transform XML escape characters HOT 3
- Must add newline to the end of configure.ac HOT 1
- coredump
- roxml_add_node with ROXML_CDATA_NODE does not work HOT 2
- roxml_add_node() should escape XML special characters HOT 8
- Regression: memory leak in xpath code HOT 7
- How to include this library in a C program HOT 1
- CMake error : multiple definitions and undefined references HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libroxml.