issue 1
(Validating XML verb) commented on by stephen.nil
- Thanks for report.
I don't remember why to comment that line. I have fixed this, the source code can
update from svn.
Thanks for report.
I don't remember why to comment that line. I have fixed this, the source code can
update from svn.
Nov 16, 2009
r28
(treat single attrname as error
) committed by stephen.nil
- treat single attrname as error
treat single attrname as error
Nov 16, 2009
issue 1
(Validating XML verb) commented on by christian.kakesa
- I have a very good performance with SPXML pull parser.
Very good job guys !!!
I have a very good performance with SPXML pull parser.
Very good job guys !!!
Nov 15, 2009
issue 1
(Validating XML verb) commented on by christian.kakesa
- OK, fine but why to comment this line : spxmlstag.cpp:214: //setError( parser, "miss
'=' between name & value" ); ?
I think it's a real error. Wellformed XML don't support empty attribut not like this
: att="".
The equals and quoted empty value is needed.
OK, fine but why to comment this line : spxmlstag.cpp:214: //setError( parser, "miss
'=' between name & value" ); ?
I think it's a real error. Wellformed XML don't support empty attribut not like this
: att="".
The equals and quoted empty value is needed.
Earlier this year
Nov 12, 2009
issue 1
(Validating XML verb) commented on by stephen.nil
- The SPXml is a stream-oriented parser. When the parser parse half of the element, it
don't treat as error, it expect to parse the rest of the element.
expat is a stream-oriented parser too, it use a flag to indicate the end of the
input.
XMLPARSEAPI(enum XML_Status)
XML_Parse(XML_Parser parser, const char *s, int len, int isFinal);
There are two way to detect this error. The first one is like expat, add a parameter
to indicate the end of the input, force to generate an error. The second one is to
use another variant to indicate the error, such as the parser.getLevel(). When the
caller passes the complete xml document into parser, then checks the level. If the
level is 0, it is ok. If the level is not 0, it is error.
The SPXml is a stream-oriented parser. When the parser parse half of the element, it
don't treat as error, it expect to parse the rest of the element.
expat is a stream-oriented parser too, it use a flag to indicate the end of the
input.
XMLPARSEAPI(enum XML_Status)
XML_Parse(XML_Parser parser, const char *s, int len, int isFinal);
There are two way to detect this error. The first one is like expat, add a parameter
to indicate the end of the input, force to generate an error. The second one is to
use another variant to indicate the error, such as the parser.getLevel(). When the
caller passes the complete xml document into parser, then checks the level. If the
level is 0, it is ok. If the level is not 0, it is error.
Nov 11, 2009
issue 1
(Validating XML verb) reported by christian.kakesa
- Whenn loading a bad xml file no error is found whenn invoking the error method.
ex. : <tags error val="toto">
parser.getError() returns no error.
It could be fine to detect this kind of error ?
Whenn loading a bad xml file no error is found whenn invoking the error method.
ex. : <tags error val="toto">
parser.getError() returns no error.
It could be fine to detect this kind of error ?
Nov 05, 2009
r27
(porting to win32
) committed by stephen.nil
- porting to win32