On Sunday, 30 July 2017 at 03:16:35 UTC, Mike wrote:
It appears `onStartTag` does not handle the root element.
Looks like a bug. Until the module is replaced, bug reports are
still accepted for it.
On Sunday, 30 July 2017 at 03:16:35 UTC, Mike wrote:
On Sunday, 30 July 2017 at 02:58:09 UTC, Mike wrote:
[...]
It appears `onStartTag` does not handle the root element. For
example, this code seems to work:
import std.xml;
import std.stdio;
void main()
{
auto parser = new
On Sunday, 30 July 2017 at 02:58:09 UTC, Mike wrote:
I'm trying to use std.xml, and I can't get it to work.
I tried the simplest program I could think of:
import std.xml;
import std.stdio;
void main()
{
auto parser = new DocumentParser("encoding=\"utf-8\"?>"
On Sunday, 30 July 2017 at 02:58:09 UTC, Mike wrote:
import std.xml;
import std.stdio;
void main()
{
auto parser = new DocumentParser("encoding=\"utf-8\"?>");
parser.onStartTag["device"] = (ElementParser parser)
{
writeln("device"
I'm trying to use std.xml, and I can't get it to work.
I tried the simplest program I could think of:
import std.xml;
import std.stdio;
void main()
{
auto parser = new DocumentParser("encoding=\"utf-8\"?>");
parser.onStartTag["device"] = (
On Saturday, July 8, 2017 8:45:57 PM MDT Nordlöw via Digitalmars-d-learn
wrote:
> What's the fastest XML-parser on code.dlang.org?
>
> Are there any benchmarks that show performance improvements
> compared to std.xml?
I'm not aware of any benchmarks for std.xml, but from
What's the fastest XML-parser on code.dlang.org?
Are there any benchmarks that show performance improvements
compared to std.xml?
On 2014-01-14 09:57, "Ola Fosheim Grøstad"
" wrote:
I want to read XML files and replace the nodes I care about (shapes and
transforms) with my own version so that I more easily can manipulate it
(using a more efficient internal representation). The kxml library
appears have a node class, so ma
On Monday, 13 January 2014 at 19:54:22 UTC, Jacob Carlborg wrote:
I'm not sure what you're trying to do but the implementation in
Tango uses structs for the nodes so you cannot subclass that.
I want to read XML files and replace the nodes I care about
(shapes and transforms) with my own versio
On 2014-01-13 18:47, "Ola Fosheim Grøstad"
" wrote:
Thanks Jacob and Dejan!
I guess I can just build a generic DOM using one of those and replace
the nodes I am interested with subclasses after the tree building
process. I was thinking more of a library that allows me to say that a
specific elem
Thanks Jacob and Dejan!
I guess I can just build a generic DOM using one of those and
replace the nodes I am interested with subclasses after the tree
building process. I was thinking more of a library that allows me
to say that a specific element (like "svg") should use a specific
subclass,
On Friday, 10 January 2014 at 00:02:14 UTC, Ola Fosheim Grøstad
wrote:
The std.xml documentation states "This module is considered
out-dated and not up to Phobos' current standards."
Does this mean that there is some other module I should use for
xml parsing? Maybe one tha
On 2014-01-10 01:02, "Ola Fosheim Grøstad"
" wrote:
The std.xml documentation states "This module is considered out-dated
and not up to Phobos' current standards."
Does this mean that there is some other module I should use for xml
parsing? Maybe one that is not in
The std.xml documentation states "This module is considered
out-dated and not up to Phobos' current standards."
Does this mean that there is some other module I should use for
xml parsing? Maybe one that is not in the standard distribution
yet because it is beta?
I'd l
Just a guess, but wouldn't be the root node of the
document, thus not qualifying for the onStartTag?
I'm trying to use std.xml to parse a small snippet of xml (for
now).
This is my code:
[code]
void main(string[] args)
{
string xmlText = "\n" ~
"" ~
In the test code, the onStartTag will not be called for the root node "set".
The onEndTag is OK, and the onStartTag is OK for sub nodes.
Is this a bug, or just it is? Can anybody confirm it?
Thanks.
// test.d
module main;
import std.string;
import std.stdio;
import std.xml;
int m
On 2011-11-29 23:47, bioinfornatics wrote:
Dear
I convert my lib tango/d1 to phobos/d2 so i need use std.xml but i have
heard they are sometime ago std.xml will be updated. I do not want do
twice time the works. So my question is: std.xml will be deprecated or
not ?
thanks
I've crea
On Wednesday, November 30, 2011 03:42:33 bioinfornatics wrote:
> Le mardi 29 novembre 2011 à 18:10 -0500, Jonathan M Davis a écrit :
> > On Tuesday, November 29, 2011 23:47:33 bioinfornatics wrote:
> > > Dear
> > > I convert my lib tango/d1 to phobos/d2 so i need u
Le mardi 29 novembre 2011 à 18:10 -0500, Jonathan M Davis a écrit :
> On Tuesday, November 29, 2011 23:47:33 bioinfornatics wrote:
> > Dear
> > I convert my lib tango/d1 to phobos/d2 so i need use std.xml but i have
> > heard they are sometime ago std.xml will be upda
bioinfornatics Wrote:
> Dear
> I convert my lib tango/d1 to phobos/d2 so i need use std.xml but i have
> heard they are sometime ago std.xml will be updated. I do not want do
> twice time the works. So my question is: std.xml will be deprecated or
> not ?
>
> thanks
I do
On Tuesday, November 29, 2011 23:47:33 bioinfornatics wrote:
> Dear
> I convert my lib tango/d1 to phobos/d2 so i need use std.xml but i have
> heard they are sometime ago std.xml will be updated. I do not want do
> twice time the works. So my question is: std.xml will be depreca
Dear
I convert my lib tango/d1 to phobos/d2 so i need use std.xml but i have
heard they are sometime ago std.xml will be updated. I do not want do
twice time the works. So my question is: std.xml will be deprecated or
not ?
thanks
On 2011-02-26 07:20, Tom wrote:
El 25/02/2011 20:07, Jacob Carlborg escribió:
On 2011-02-25 21:11, Tom wrote:
El 24/02/2011 19:40, Tom escribió:
El 24/02/2011 09:51, Jacob Carlborg escribió:
On 2011-02-24 06:48, Tom wrote:
Hi, how can I create an empty element with current D2 std.xml
El 25/02/2011 20:07, Jacob Carlborg escribió:
On 2011-02-25 21:11, Tom wrote:
El 24/02/2011 19:40, Tom escribió:
El 24/02/2011 09:51, Jacob Carlborg escribió:
On 2011-02-24 06:48, Tom wrote:
Hi, how can I create an empty element with current D2 std.xml Element
implementation?
stdout.writeln
On 2011-02-25 21:11, Tom wrote:
El 24/02/2011 19:40, Tom escribió:
El 24/02/2011 09:51, Jacob Carlborg escribió:
On 2011-02-24 06:48, Tom wrote:
Hi, how can I create an empty element with current D2 std.xml Element
implementation?
stdout.writeln(new Element("foo")); // Shields
El 24/02/2011 19:40, Tom escribió:
El 24/02/2011 09:51, Jacob Carlborg escribió:
On 2011-02-24 06:48, Tom wrote:
Hi, how can I create an empty element with current D2 std.xml Element
implementation?
stdout.writeln(new Element("foo")); // Shields instead of
Thanks in advance,
T
El 24/02/2011 09:51, Jacob Carlborg escribió:
On 2011-02-24 06:48, Tom wrote:
Hi, how can I create an empty element with current D2 std.xml Element
implementation?
stdout.writeln(new Element("foo")); // Shields instead of
Thanks in advance,
Tom;
http://d.puremagic.com/issues/sh
Tom Wrote:
> Hi, how can I create an empty element with current D2 std.xml Element
> implementation?
>
> stdout.writeln(new Element("foo")); // Shields instead of
>
>
> Thanks in advance,
> Tom;
One issue with this is that you can not determine what can be
On 2011-02-24 06:48, Tom wrote:
Hi, how can I create an empty element with current D2 std.xml Element
implementation?
stdout.writeln(new Element("foo")); // Shields instead of
Thanks in advance,
Tom;
http://d.puremagic.com/issues/show_bug.cgi?id=4394
--
/Jacob Carlborg
Oops, I mean, yields :S
El 24/02/2011 02:48, Tom escribió:
Hi, how can I create an empty element with current D2 std.xml Element
implementation?
stdout.writeln(new Element("foo")); // Shields instead of
Thanks in advance,
Tom;
Hi, how can I create an empty element with current D2 std.xml Element
implementation?
stdout.writeln(new Element("foo")); // Shields instead of
Thanks in advance,
Tom;
32 matches
Mail list logo