Commit 1e851392 authored by Daniel Veillard's avatar Daniel Veillard

- parser.c test/wap.xml result/noent/wap.xml result/wap.xml:

  Closed bug #27499, added to regression tests
- TODO: updated
Daniel
parent 7eda8452
Sun Oct 15 12:00:24 CEST 2000 Daniel Veillard <Daniel.Veillard@w3.org>
* parser.c test/wap.xml result/noent/wap.xml result/wap.xml:
Closed bug #27499, added to regression tests
* TODO: updated
Sun Oct 15 01:34:37 CEST 2000 Daniel Veillard <Daniel.Veillard@w3.org>
* HTMLparser.c HTMLtree.[ch] SAX.c testHTML.c tree.c: fixed HTML
......
......@@ -30,9 +30,6 @@ TODO:
- jamesh suggestion: SAX like functions to save a document ie. call a
function to open a new element with given attributes, write character
data, close last element, etc
- HTML: handling of Script data elements/attributes, need special code in
the parser and saving functions (handling of < > " ' ...):
http://www.w3.org/TR/html4/types.html#type-script
TODO:
=====
......@@ -98,6 +95,10 @@ EXTENSIONS:
Done:
=====
- HTML: handling of Script and style data elements, need special code in
the parser and saving functions (handling of < > " ' ...):
http://www.w3.org/TR/html4/types.html#type-script
Attributes are no problems since entities are accepted.
- DOM needs
xmlAttrPtr xmlNewDocProp(xmlDocPtr doc, const xmlChar *name, const xmlChar *value)
- problem when parsing hrefs with & with the HTML parser (IRC ac)
......
......@@ -2077,8 +2077,7 @@ xmlParseAttValue(xmlParserCtxtPtr ctxt) {
buf[len++] = *current++;
}
} else {
COPY_BUF(l,buf,len,val);
NEXTL(l);
len += xmlCopyChar(0, &buf[len], val);
}
} else if (c == '&') {
ent = xmlParseEntityRef(ctxt);
......
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://dark.wapit.com/vswap/tests/wap/DTD/wml11.dtd">
<!-- (C) 1999, 2000 WAP Forum Ltd. All rights reserved -->
<wml>
<card id="card1">
<onevent type="onenterforward">
<go href="/vswap/run/result.eml">
<postfield name="var" value="$test"/>
<postfield name="v" value="dark"/>
<postfield name="ts" value="0003"/>
<postfield name="tp" value="wml/state/variables/parsing/1"/>
<postfield name="ti" value="1"/>
<postfield name="expected" value="var:pass"/>
</go>
</onevent>
<p>If automatic testing failed, select <anchor>Failed<go href="/vswap/run/result.eml">
<postfield name="SUBMIT" value="No"/><postfield name="v" value="dark"/>
<postfield name="ts" value="0003"/>
<postfield name="tp" value="wml/state/variables/parsing/1"/>
<postfield name="ti" value="1"/>
<postfield name="expected" value="var:pass"/></go></anchor>.</p>
</card>
</wml>
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://dark.wapit.com/vswap/tests/wap/DTD/wml11.dtd">
<!-- (C) 1999, 2000 WAP Forum Ltd. All rights reserved -->
<wml>
<card id="card1">
<onevent type="onenterforward">
<go href="/vswap/run/result.eml">
<postfield name="var" value="$test"/>
<postfield name="v" value="dark"/>
<postfield name="ts" value="0003"/>
<postfield name="tp" value="wml/state/variables/parsing/1"/>
<postfield name="ti" value="1"/>
<postfield name="expected" value="var:pass"/>
</go>
</onevent>
<p>If automatic testing failed, select <anchor>Failed<go href="/vswap/run/result.eml">
<postfield name="SUBMIT" value="No"/><postfield name="v" value="dark"/>
<postfield name="ts" value="0003"/>
<postfield name="tp" value="wml/state/variables/parsing/1"/>
<postfield name="ti" value="1"/>
<postfield name="expected" value="var:pass"/></go></anchor>.</p>
</card>
</wml>
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://dark.wapit.com/vswap/tests/wap/DTD/wml11.dtd">
<!-- (C) 1999, 2000 WAP Forum Ltd. All rights reserved -->
<wml>
<card id="card1">
<onevent type="onenterforward">
<go href="/vswap/run/result.eml">
<postfield name="var" value="&#36;test"/>
<postfield name="v" value="dark"/>
<postfield name="ts" value="0003"/>
<postfield name="tp" value="wml/state/variables/parsing/1"/>
<postfield name="ti" value="1"/>
<postfield name="expected" value="var:pass"/>
</go>
</onevent>
<p>If automatic testing failed, select <anchor>Failed<go
href='/vswap/run/result.eml'>
<postfield name="SUBMIT" value="No"/><postfield name="v"
value="dark"/>
<postfield name="ts" value="0003"/>
<postfield name="tp" value="wml/state/variables/parsing/1"/>
<postfield name="ti" value="1"/>
<postfield name="expected" value="var:pass"/></go></anchor>.</p>
</card>
</wml>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment