372 |
$self->{entity}->[-1]->{column} = 1; |
$self->{entity}->[-1]->{column} = 1; |
373 |
} elsif ($next_char eq "\x85") { |
} elsif ($next_char eq "\x85") { |
374 |
if ($self->{xml_version} eq '1.1') { |
if ($self->{xml_version} eq '1.1') { |
375 |
|
if ($self->{entity}->[-1]->{no_xml11_eol}) { |
376 |
|
my $location = { |
377 |
|
utf32_offset => $self->{entity}->[-1]->{pos} - 1, |
378 |
|
line_number => $self->{entity}->[-1]->{line}, |
379 |
|
column_number => $self->{entity}->[-1]->{column}, |
380 |
|
}; |
381 |
|
my $continue = __DOMCore:ERROR{ |
382 |
|
xp|fatal-xml11-end-of-line-in-xml-declaration:: |
383 |
|
DOMCore|location => {$location}, |
384 |
|
xp|character-number => {$r}, |
385 |
|
}__; |
386 |
|
unless ($continue) { |
387 |
|
__EXCEPTION{DOMLS|PARSE_ERR}__; |
388 |
|
} |
389 |
|
} # no_xml11_eol |
390 |
$self->{entity}->[-1]->{pos}++; |
$self->{entity}->[-1]->{pos}++; |
391 |
$self->{entity}->[-1]->{line}++; |
$self->{entity}->[-1]->{line}++; |
392 |
$self->{entity}->[-1]->{column} = 1; |
$self->{entity}->[-1]->{column} = 1; |
393 |
} else { |
} else { |
394 |
|
## |no_xml11_eol| will be tested later. |
395 |
$self->{entity}->[-1]->{column}++; |
$self->{entity}->[-1]->{column}++; |
396 |
## Line number will be increased by next |shiftChar| call. |
## Line number will be increased by next |shiftChar| call. |
397 |
} |
} |
424 |
$self->{has_error} = true; |
$self->{has_error} = true; |
425 |
$self->{entity}->[-1]->{column}++; |
$self->{entity}->[-1]->{column}++; |
426 |
} elsif ($r == 0x0085 or $r == 0x2028) { |
} elsif ($r == 0x0085 or $r == 0x2028) { |
427 |
|
if ($self->{entity}->[-1]->{no_xml11_eol}) { |
428 |
|
my $location = { |
429 |
|
utf32_offset => $self->{entity}->[-1]->{pos} - 1, |
430 |
|
line_number => $self->{entity}->[-1]->{line}, |
431 |
|
column_number => $self->{entity}->[-1]->{column}, |
432 |
|
}; |
433 |
|
my $continue = __DOMCore:ERROR{ |
434 |
|
xp|fatal-xml11-end-of-line-in-xml-declaration:: |
435 |
|
DOMCore|location => {$location}, |
436 |
|
xp|character-number => {$r}, |
437 |
|
}__; |
438 |
|
unless ($continue) { |
439 |
|
__EXCEPTION{DOMLS|PARSE_ERR}__; |
440 |
|
} |
441 |
|
} # no_xml11_eol |
442 |
$r = 0x000A if $self->{xml_version} eq '1.1'; |
$r = 0x000A if $self->{xml_version} eq '1.1'; |
443 |
## Even in XML 1.0 it increases the line number. |
## Even in XML 1.0 it increases the line number. |
444 |
$self->{entity}->[-1]->{line}++; |
$self->{entity}->[-1]->{line}++; |
504 |
/* |
/* |
505 |
prolog := XMLDecl? *Misc [doctypedecl *Misc] ;; [22] |
prolog := XMLDecl? *Misc [doctypedecl *Misc] ;; [22] |
506 |
*/ |
*/ |
507 |
?lexmode 'DocumentStart'; |
?lexmode DocumentStart; |
508 |
|
|
509 |
my $doc; |
my $doc; |
510 |
lang:Perl { |
lang:Perl { |
512 |
} |
} |
513 |
|
|
514 |
~? (XDO) { |
~? (XDO) { |
515 |
&_XMLDeclaration_ ($doc => $doc); |
?lexmode XMLDeclarationOrPI; |
516 |
|
lang:Perl { |
517 |
~ (PIC) { |
$self->{entity}->[-1]->{no_xml11_eol} = true; |
518 |
?lexmode DocumentProlog; |
} |
519 |
|
~ (S) { // XML declaration |
520 |
|
&_XMLDeclaration_ ($doc => $doc); |
521 |
|
~ (PIC2) { |
522 |
|
?lexmode DocumentProlog; |
523 |
|
} else { |
524 |
|
?lexmode DocumentProlog; |
525 |
|
} |
526 |
|
} (NameChar) { // Processing instruction whose target begins with |xml| |
527 |
|
my $target_token; |
528 |
|
lang:Perl ($v => $token.value) { |
529 |
|
$target_token = $token; |
530 |
|
$target_token->{value} = 'xml'.$target_token->{value}; |
531 |
|
$self->{entity}->[-1]->{no_xml11_eol} = false; |
532 |
|
} |
533 |
|
?lexmode PINmtoken; |
534 |
|
~? (Nmtoken) { |
535 |
|
lang:Perl ($v => $token.value) { |
536 |
|
$target_token->{value} .= $v; |
537 |
|
} |
538 |
|
?lexmode PIName; |
539 |
|
} |
540 |
|
lang:Perl { |
541 |
|
$target_token->{type} = 'Name'; |
542 |
|
$target_token->{location_d} += 3; # 'xml' |
543 |
|
unshift @{$self->{token}}, $token; |
544 |
|
$token = $target_token; |
545 |
|
} |
546 |
|
&_ProcessingInstruction_ ($doc => $doc, $parent => $doc); |
547 |
|
~ (PIC) { |
548 |
|
?lexmode DocumentProlog; |
549 |
|
} else { |
550 |
|
?lexmode DocumentProlog; |
551 |
|
} |
552 |
} else { |
} else { |
553 |
?lexmode DocumentProlog; |
lang:Perl { |
554 |
|
$self->{entity}->[-1]->{no_xml11_eol} = false; |
555 |
|
} |
556 |
} |
} |
557 |
} else { |
} else { |
558 |
?lexmode 'DocumentProlog'; |
?lexmode 'DocumentProlog'; |
692 |
NOTE: XML declaration is optional in XML 1.0 |
NOTE: XML declaration is optional in XML 1.0 |
693 |
while it is required in XML 1.1. |
while it is required in XML 1.1. |
694 |
*/ |
*/ |
695 |
rule _XMLDeclaration_ ($doc) { |
rule _XMLDeclaration_ { |
|
?lexmode XMLDeclaration; |
|
|
|
|
696 |
// ~ (XDO) { } |
// ~ (XDO) { } |
697 |
// ~ (S) { } |
?lexmode XMLDeclaration; |
698 |
|
//lang:Perl { |
699 |
|
// $self->{entity}->[-1]->{no_xml11_eol} = true; |
700 |
|
//} |
701 |
|
//~ (S) { } |
702 |
|
|
703 |
~ (Name == 'version') { |
~ (Name == 'version') { |
704 |
~? (S) { } |
~? (S) { } |
745 |
}__; |
}__; |
746 |
my $continue = __DOMCore:ERROR{xp|wf-unsupported-xml-version:: |
my $continue = __DOMCore:ERROR{xp|wf-unsupported-xml-version:: |
747 |
DOMCore|location => {$location}, |
DOMCore|location => {$location}, |
748 |
xp|parent => {$doc}, |
xp|parent => {$self->{doc}}, |
749 |
infoset|version => {$ver}, |
infoset|version => {$ver}, |
750 |
xp|error-token => {$bad_token}, |
xp|error-token => {$bad_token}, |
751 |
}__; |
}__; |
754 |
} |
} |
755 |
$self->{has_error} = true; |
$self->{has_error} = true; |
756 |
} |
} |
757 |
$doc-><AS::Document.xmlVersion> ($ver); |
$self->{doc}-><AS::Document.xmlVersion> ($ver); |
758 |
$self->{xml_version} = $ver; |
$self->{xml_version} = $ver; |
759 |
} |
} |
760 |
|
|
806 |
}__; |
}__; |
807 |
my $continue = __DOMCore:ERROR{xp|wf-malformed-enc-name:: |
my $continue = __DOMCore:ERROR{xp|wf-malformed-enc-name:: |
808 |
DOMCore|location => {$location}, |
DOMCore|location => {$location}, |
809 |
xp|parent => {$doc}, |
xp|parent => {$self->{doc}}, |
810 |
xp|name => {$ver}, |
xp|name => {$ver}, |
811 |
xp|error-token => {$bad_token}, |
xp|error-token => {$bad_token}, |
812 |
}__; |
}__; |
815 |
} |
} |
816 |
$self->{has_error} = true; |
$self->{has_error} = true; |
817 |
} |
} |
818 |
$doc-><AS::Document.xmlEncoding> ($ver); |
$self->{doc}-><AS::Document.xmlEncoding> ($ver); |
819 |
} |
} |
820 |
|
|
821 |
~? (S) { } |
~? (S) { } |
866 |
}__; |
}__; |
867 |
my $continue = __DOMCore:ERROR{xp|wf-malformed-xml-standalone:: |
my $continue = __DOMCore:ERROR{xp|wf-malformed-xml-standalone:: |
868 |
DOMCore|location => {$location}, |
DOMCore|location => {$location}, |
869 |
xp|parent => {$doc}, |
xp|parent => {$self->{doc}}, |
870 |
xp|name => {$ver}, |
xp|name => {$ver}, |
871 |
xp|error-token => {$bad_token}, |
xp|error-token => {$bad_token}, |
872 |
}__; |
}__; |
876 |
$self->{has_error} = true; |
$self->{has_error} = true; |
877 |
} |
} |
878 |
if ($ver eq 'yes') { |
if ($ver eq 'yes') { |
879 |
$doc-><AS::Document.xmlStandalone> (true); |
$self->{doc}-><AS::Document.xmlStandalone> (true); |
880 |
$self->{standalone} = true; |
$self->{standalone} = true; |
881 |
} |
} |
882 |
} |
} |
884 |
~? (S) { } |
~? (S) { } |
885 |
} |
} |
886 |
|
|
887 |
// ~ (PIC) { } |
~ (PIC1) { |
888 |
|
lang:Perl { |
889 |
|
$self->{entity}->[-1]->{no_xml11_eol} = false; |
890 |
|
} |
891 |
|
} else { |
892 |
|
lang:Perl { |
893 |
|
$self->{entity}->[-1]->{no_xml11_eol} = false; |
894 |
|
} |
895 |
|
} |
896 |
|
|
897 |
|
// ~ (PIC2) { } |
898 |
} // _XMLDeclaration_ |
} // _XMLDeclaration_ |
899 |
|
|
900 |
/* |
/* |
3471 |
*/ |
*/ |
3472 |
MDO := ['<'] ['!']; |
MDO := ['<'] ['!']; |
3473 |
} // DocumentProlog |
} // DocumentProlog |
3474 |
|
|
3475 |
/* |
/* |
3476 |
Document start scanning mode |
Document Start Scanning Mode |
3477 |
*/ |
*/ |
3478 |
lexmode DocumentStart |
lexmode DocumentStart |
|
: initial |
|
3479 |
: standalone |
: standalone |
3480 |
: extends => 'DocumentProlog' |
: extends => 'DocumentProlog' |
3481 |
{ |
{ |
3482 |
/* |
/* |
3483 |
XML declaration |
XML declaration |
3484 |
*/ |
*/ |
3485 |
XDO := ['<'] ['?'] ['x'] ['m'] ['l'] $s+; |
XDO := ['<'] ['?'] ['x'] ['m'] ['l']; |
3486 |
} // DocumentStart |
} // DocumentStart |
3487 |
|
|
3488 |
/* |
/* |
3517 |
} // PIName |
} // PIName |
3518 |
|
|
3519 |
/* |
/* |
3520 |
|
Processing instruction name and |S| scanning mode |
3521 |
|
*/ |
3522 |
|
lexmode PINmtoken |
3523 |
|
: standalone |
3524 |
|
: extends => 'Nmtoken' |
3525 |
|
: extends => 'S' |
3526 |
|
{ |
3527 |
|
/* |
3528 |
|
Processing instruction close |
3529 |
|
*/ |
3530 |
|
PIC := ['?'] ['>']; |
3531 |
|
} // PINmtoken |
3532 |
|
|
3533 |
|
/* |
3534 |
Processing instruction data scanning mode |
Processing instruction data scanning mode |
3535 |
*/ |
*/ |
3536 |
lexmode PIData |
lexmode PIData |
3667 |
REFC := [';']; |
REFC := [';']; |
3668 |
} // HexadecimalCharacterReference |
} // HexadecimalCharacterReference |
3669 |
|
|
3670 |
|
/* |
3671 |
|
The XML Declaration and Text Declaration Scanning Mode |
3672 |
|
*/ |
3673 |
lexmode XMLDeclaration |
lexmode XMLDeclaration |
3674 |
: standalone |
: standalone |
3675 |
: extends => 'Name' |
: extends => 'Name' |
3689 |
|
|
3690 |
/* |
/* |
3691 |
Processing instruction close |
Processing instruction close |
3692 |
|
|
3693 |
|
The |PIC|, i.e. |?>|, is split into two tokens |PIC1| and |PIC2| |
3694 |
|
in this scanning mode to set |no_xml11_eol| flag in the |
3695 |
|
|_XMLDeclaration_| |rule|. |
3696 |
*/ |
*/ |
3697 |
PIC := ['?'] ['>']; |
PIC1 := ['?']; |
3698 |
|
PIC2 := ['>']; |
3699 |
} // XMLDeclaration |
} // XMLDeclaration |
3700 |
|
|
3701 |
|
/* |
3702 |
|
The XML Declaration or Processing Instruction Scanning Mode |
3703 |
|
|
3704 |
|
'<?xml' S ... |
3705 |
|
(DocumentStart) (XMLDeclarationOrPI) (XMLDeclaration) |
3706 |
|
'<?xml' '1' S ... |
3707 |
|
(DocumentStart) (XMLDeclarationOrPI) (PINmtoken)(PIName) (PITarget) |
3708 |
|
'<?xml' '-' 'stylesheet' S ... |
3709 |
|
(DocumentStart) (XMLDeclarationOrPI) (PINmtoken) (PIName) (PITarget) |
3710 |
|
*/ |
3711 |
|
lexmode XMLDeclarationOrPI |
3712 |
|
: standalone |
3713 |
|
: extends => 'NameChar' |
3714 |
|
: extends => 'S' |
3715 |
|
{ |
3716 |
|
NameChar : value := $NameChar11; |
3717 |
|
} // XMLDeclarationOrPI |
3718 |
|
|
3719 |
lexmode StartTag |
lexmode StartTag |
3720 |
: standalone |
: standalone |
4622 |
<?xml?> |
<?xml?> |
4623 |
<p></p> |
<p></p> |
4624 |
@@@c:erred: |
@@@c:erred: |
4625 |
<[[xp:wf-pi-target-is-xml]]> { (1, 1)..(1, 5); } |
<[[xp:wf-syntax-error]]> { (1, 1)..(1, 7); } |
4626 |
@@XMLTest: |
@@XMLTest: |
4627 |
@@@QName: xp.xmldecl.s.no.attr.test |
@@@QName: xp.xmldecl.s.no.attr.test |
4628 |
@@@DEnt: |
@@@DEnt: |
4897 |
@@@c:erred: |
@@@c:erred: |
4898 |
<[[xp:wf-pi-target-is-xml]]> { (2, 1)..(2, 5); } |
<[[xp:wf-pi-target-is-xml]]> { (2, 1)..(2, 5); } |
4899 |
@@XMLTest: |
@@XMLTest: |
4900 |
|
@@@QName: xp.xmldecl.after.pi.2.test |
4901 |
|
@@@DEnt: |
4902 |
|
@@@@test:value: |
4903 |
|
<?declaration?> |
4904 |
|
<?xml version="1.0"?> |
4905 |
|
<p></p> |
4906 |
|
@@@c:erred: |
4907 |
|
<[[xp:wf-pi-target-is-xml]]> { (2, 1)..(2, 5); } |
4908 |
|
@@XMLTest: |
4909 |
|
@@@QName: xp.xmldecl.after.pi.empty.2.test |
4910 |
|
@@@DEnt: |
4911 |
|
@@@@test:value: |
4912 |
|
<?declaration?> |
4913 |
|
<?xml?> |
4914 |
|
<p></p> |
4915 |
|
@@@c:erred: |
4916 |
|
<[[xp:wf-pi-target-is-xml]]> { (2, 1)..(2, 5); } |
4917 |
|
@@XMLTest: |
4918 |
@@@QName: xp.xmldecl.after.doctype.test |
@@@QName: xp.xmldecl.after.doctype.test |
4919 |
@@@DEnt: |
@@@DEnt: |
4920 |
@@@@test:value: |
@@@@test:value: |
5236 |
]> |
]> |
5237 |
<a></a> |
<a></a> |
5238 |
@@@c:erred: <[[xp|wf-syntax-error]]> { (2, 1)..(2, 12); } |
@@@c:erred: <[[xp|wf-syntax-error]]> { (2, 1)..(2, 12); } |
5239 |
|
@@XMLTest: |
5240 |
|
@@@QName: xp.doctype.no.s.no.name.test |
5241 |
|
@@@DEnt: |
5242 |
|
@@@@test:value: |
5243 |
|
<!DOCTYPE> |
5244 |
|
<a></a> |
5245 |
|
@@@c:erred: <[[xp|wf-syntax-error]]> { (1, 10); } |
5246 |
|
@@XMLTest: |
5247 |
|
@@@QName: xp.doctype.no.name.test |
5248 |
|
@@@DEnt: |
5249 |
|
@@@@test:value: |
5250 |
|
<!DOCTYPE > |
5251 |
|
<a></a> |
5252 |
|
@@@c:erred: <[[xp|wf-syntax-error]]> { (1, 11); } |
5253 |
|
@@XMLTest: |
5254 |
|
@@@QName: xp.doctype.name.s.test |
5255 |
|
@@@DEnt: |
5256 |
|
@@@@test:value: |
5257 |
|
<!DOCTYPE aa > |
5258 |
|
<aa></aa> |
5259 |
|
@@@test:domTree: |
5260 |
|
document { |
5261 |
|
document-type { |
5262 |
|
node-name: 'aa'; |
5263 |
|
} |
5264 |
|
element { } |
5265 |
|
} |
5266 |
|
@@XMLTest: |
5267 |
|
@@@QName: xp.doctype.no.mdc.test |
5268 |
|
@@@DEnt: |
5269 |
|
@@@@test:value: |
5270 |
|
<!DOCTYPE aa |
5271 |
|
<aa></aa> |
5272 |
|
@@@c:erred: <[[xp|wf-syntax-error]]> { (2, 1); } |
5273 |
|
|
5274 |
@@XMLTest: |
@@XMLTest: |
5275 |
@@@QName: xp.doctype.intsubset.empty.test |
@@@QName: xp.doctype.intsubset.empty.1.test |
5276 |
|
@@@DEnt: |
5277 |
|
@@@@test:value: |
5278 |
|
<!DOCTYPE a []> |
5279 |
|
<a></a> |
5280 |
|
@@@test:domTree: |
5281 |
|
document { |
5282 |
|
xml-version: '1.0'; |
5283 |
|
xml-encoding: null; |
5284 |
|
xml-standalone: false; |
5285 |
|
document-type { |
5286 |
|
node-name: 'a'; |
5287 |
|
} |
5288 |
|
element { |
5289 |
|
namespace-uri: null; |
5290 |
|
prefix: null; |
5291 |
|
local-name: 'a'; |
5292 |
|
text-content: ''; |
5293 |
|
} |
5294 |
|
} |
5295 |
|
@@XMLTest: |
5296 |
|
@@@QName: xp.doctype.intsubset.empty.2.test |
5297 |
@@@DEnt: |
@@@DEnt: |
5298 |
@@@@test:value: |
@@@@test:value: |
5299 |
<!DOCTYPE a [ |
<!DOCTYPE a [ |
5315 |
text-content: ''; |
text-content: ''; |
5316 |
} |
} |
5317 |
} |
} |
5318 |
|
@@XMLTest: |
5319 |
|
@@@QName: xp.doctype.intsubset.empty.3.test |
5320 |
|
@@@DEnt: |
5321 |
|
@@@@test:value: |
5322 |
|
<!DOCTYPE a[]> |
5323 |
|
<a></a> |
5324 |
|
@@@test:domTree: |
5325 |
|
document { |
5326 |
|
document-type { |
5327 |
|
node-name: 'a'; |
5328 |
|
} |
5329 |
|
element { } |
5330 |
|
} |
5331 |
|
@@XMLTest: |
5332 |
|
@@@QName: xp.doctype.intsubset.empty.4.test |
5333 |
|
@@@DEnt: |
5334 |
|
@@@@test:value: |
5335 |
|
<!DOCTYPE a[] > |
5336 |
|
<a></a> |
5337 |
|
@@@test:domTree: |
5338 |
|
document { |
5339 |
|
document-type { |
5340 |
|
node-name: 'a'; |
5341 |
|
} |
5342 |
|
element { } |
5343 |
|
} |
5344 |
|
@@XMLTest: |
5345 |
|
@@@QName: xp.doctype.intsubset.no.dsc.1.test |
5346 |
|
@@@DEnt: |
5347 |
|
@@@@test:value: |
5348 |
|
<!DOCTYPE a [> |
5349 |
|
<a></a> |
5350 |
|
@@@c:erred: <[[xp|wf-syntax-error]]> { (1, 14); } |
5351 |
|
@@XMLTest: |
5352 |
|
@@@QName: xp.doctype.intsubset.no.dsc.2.test |
5353 |
|
@@@DEnt: |
5354 |
|
@@@@test:value: |
5355 |
|
<!DOCTYPE a [ |
5356 |
|
<a></a> |
5357 |
|
@@@c:erred: <[[xp|wf-syntax-error]]> { (2, 1); } |
5358 |
|
@@XMLTest: |
5359 |
|
@@@QName: xp.doctype.intsubset.no.dsc.3.test |
5360 |
|
@@@DEnt: |
5361 |
|
@@@@test:value: |
5362 |
|
<!DOCTYPE a [ |
5363 |
|
@@@c:erred: <[[xp|wf-syntax-error]]> { (1, 14); } |
5364 |
|
@@XMLTest: |
5365 |
|
@@@QName: xp.doctype.intsubset.no.mdc.1.test |
5366 |
|
@@@DEnt: |
5367 |
|
@@@@test:value: |
5368 |
|
<!DOCTYPE a [] |
5369 |
|
<a/> |
5370 |
|
@@@c:erred: <[[xp|wf-syntax-error]]> { (2, 1); } |
5371 |
|
@@XMLTest: |
5372 |
|
@@@QName: xp.doctype.intsubset.no.mdc.2.test |
5373 |
|
@@@DEnt: |
5374 |
|
@@@@test:value: |
5375 |
|
<!DOCTYPE a []]> |
5376 |
|
<a/> |
5377 |
|
@@@c:erred: <[[xp|wf-syntax-error]]> { (1, 15); } |
5378 |
|
|
5379 |
|
@@XMLTest: |
5380 |
|
@@@QName: xp.endofline.1.0.crlf.test |
5381 |
|
@@@DEnt: |
5382 |
|
@@@@test:value: |
5383 |
|
<?xml version="1.0"?> |
5384 |
|
<p>aaa$u000D$u000Abbb</p> |
5385 |
|
@@@test:domTree: |
5386 |
|
document { |
5387 |
|
xml-version: '1.0'; |
5388 |
|
element { |
5389 |
|
text-content: 'aaa' U+000A 'bbb'; |
5390 |
|
} |
5391 |
|
} |
5392 |
|
@@XMLTest: |
5393 |
|
@@@QName: xp.endofline.1.1.crlf.test |
5394 |
|
@@@DEnt: |
5395 |
|
@@@@test:value: |
5396 |
|
<?xml version="1.1"?> |
5397 |
|
<p>aaa$u000D$u000Abbb</p> |
5398 |
|
@@@test:domTree: |
5399 |
|
document { |
5400 |
|
xml-version: '1.1'; |
5401 |
|
element { |
5402 |
|
text-content: 'aaa' U+000A 'bbb'; |
5403 |
|
} |
5404 |
|
} |
5405 |
|
@@XMLTest: |
5406 |
|
@@@QName: xp.endofline.1.0.crnl.test |
5407 |
|
@@@DEnt: |
5408 |
|
@@@@test:value: |
5409 |
|
<?xml version="1.0"?> |
5410 |
|
<p>aaa$u000D$u0085bbb</p> |
5411 |
|
@@@test:domTree: |
5412 |
|
document { |
5413 |
|
xml-version: '1.0'; |
5414 |
|
element { |
5415 |
|
text-content: 'aaa' U+000A U+0085 'bbb'; |
5416 |
|
} |
5417 |
|
} |
5418 |
|
@@XMLTest: |
5419 |
|
@@@QName: xp.endofline.1.1.crnl.test |
5420 |
|
@@@DEnt: |
5421 |
|
@@@@test:value: |
5422 |
|
<?xml version="1.1"?> |
5423 |
|
<p>aaa$u000D$u0085bbb</p> |
5424 |
|
@@@test:domTree: |
5425 |
|
document { |
5426 |
|
xml-version: '1.1'; |
5427 |
|
element { |
5428 |
|
text-content: 'aaa' U+000A 'bbb'; |
5429 |
|
} |
5430 |
|
} |
5431 |
|
@@XMLTest: |
5432 |
|
@@@QName: xp.endofline.1.0.nl.test |
5433 |
|
@@@DEnt: |
5434 |
|
@@@@test:value: |
5435 |
|
<?xml version="1.0"?> |
5436 |
|
<p>aaa$u0085bbb</p> |
5437 |
|
@@@test:domTree: |
5438 |
|
document { |
5439 |
|
xml-version: '1.0'; |
5440 |
|
element { |
5441 |
|
text-content: 'aaa' U+0085 'bbb'; |
5442 |
|
} |
5443 |
|
} |
5444 |
|
@@XMLTest: |
5445 |
|
@@@QName: xp.endofline.1.1.nl.test |
5446 |
|
@@@DEnt: |
5447 |
|
@@@@test:value: |
5448 |
|
<?xml version="1.1"?> |
5449 |
|
<p>aaa$u0085bbb</p> |
5450 |
|
@@@test:domTree: |
5451 |
|
document { |
5452 |
|
xml-version: '1.1'; |
5453 |
|
element { |
5454 |
|
text-content: 'aaa' U+000A 'bbb'; |
5455 |
|
} |
5456 |
|
} |
5457 |
|
@@XMLTest: |
5458 |
|
@@@QName: xp.endofline.1.0.ls.test |
5459 |
|
@@@DEnt: |
5460 |
|
@@@@test:value: |
5461 |
|
<?xml version="1.0"?> |
5462 |
|
<p>aaa$u2028bbb</p> |
5463 |
|
@@@test:domTree: |
5464 |
|
document { |
5465 |
|
xml-version: '1.0'; |
5466 |
|
element { |
5467 |
|
text-content: 'aaa' U+2028 'bbb'; |
5468 |
|
} |
5469 |
|
} |
5470 |
|
@@XMLTest: |
5471 |
|
@@@QName: xp.endofline.1.1.ls.test |
5472 |
|
@@@DEnt: |
5473 |
|
@@@@test:value: |
5474 |
|
<?xml version="1.1"?> |
5475 |
|
<p>aaa$u2028bbb</p> |
5476 |
|
@@@test:domTree: |
5477 |
|
document { |
5478 |
|
xml-version: '1.1'; |
5479 |
|
element { |
5480 |
|
text-content: 'aaa' U+000A 'bbb'; |
5481 |
|
} |
5482 |
|
} |
5483 |
|
@@XMLTest: |
5484 |
|
@@@QName: xp.endofline.1.0.cr.test |
5485 |
|
@@@DEnt: |
5486 |
|
@@@@test:value: |
5487 |
|
<?xml version="1.0"?> |
5488 |
|
<p>aaa$u000Dbbb</p> |
5489 |
|
@@@test:domTree: |
5490 |
|
document { |
5491 |
|
xml-version: '1.0'; |
5492 |
|
element { |
5493 |
|
text-content: 'aaa' U+000A 'bbb'; |
5494 |
|
} |
5495 |
|
} |
5496 |
|
@@XMLTest: |
5497 |
|
@@@QName: xp.endofline.1.1.cr.test |
5498 |
|
@@@DEnt: |
5499 |
|
@@@@test:value: |
5500 |
|
<?xml version="1.1"?> |
5501 |
|
<p>aaa$u000Dbbb</p> |
5502 |
|
@@@test:domTree: |
5503 |
|
document { |
5504 |
|
xml-version: '1.1'; |
5505 |
|
element { |
5506 |
|
text-content: 'aaa' U+000A 'bbb'; |
5507 |
|
} |
5508 |
|
} |
5509 |
|
@@XMLTest: |
5510 |
|
@@@QName: xp.endofline.1.0.lf.test |
5511 |
|
@@@DEnt: |
5512 |
|
@@@@test:value: |
5513 |
|
<?xml version="1.0"?> |
5514 |
|
<p>aaa$u000Abbb</p> |
5515 |
|
@@@test:domTree: |
5516 |
|
document { |
5517 |
|
xml-version: '1.0'; |
5518 |
|
element { |
5519 |
|
text-content: 'aaa' U+000A 'bbb'; |
5520 |
|
} |
5521 |
|
} |
5522 |
|
@@XMLTest: |
5523 |
|
@@@QName: xp.endofline.1.1.lf.test |
5524 |
|
@@@DEnt: |
5525 |
|
@@@@test:value: |
5526 |
|
<?xml version="1.1"?> |
5527 |
|
<p>aaa$u000Abbb</p> |
5528 |
|
@@@test:domTree: |
5529 |
|
document { |
5530 |
|
xml-version: '1.1'; |
5531 |
|
element { |
5532 |
|
text-content: 'aaa' U+000A 'bbb'; |
5533 |
|
} |
5534 |
|
} |
5535 |
|
@@XMLTest: |
5536 |
|
@@@QName: xp.xml10.endofline.nl.in.xmldecl.1.test |
5537 |
|
@@@DEnt: |
5538 |
|
@@@@test:value: |
5539 |
|
<?xml$u0085version="1.0"?> |
5540 |
|
<p/> |
5541 |
|
@@@c:erred: |
5542 |
|
<[[xp|fatal-xml11-end-of-line-in-xml-declaration]]> { (1, 6)..(2, 0); } |
5543 |
|
@@@c:erred: <[[xp|wf-syntax-error]]> { } |
5544 |
|
@@XMLTest: |
5545 |
|
@@@QName: xp.xml11.endofline.nl.in.xmldecl.1.test |
5546 |
|
@@@DEnt: |
5547 |
|
@@@@test:value: |
5548 |
|
<?xml$u0085version="1.1"?> |
5549 |
|
(err)<p/> |
5550 |
|
@@@c:erred: |
5551 |
|
<[[xp|fatal-xml11-end-of-line-in-xml-declaration]]> { (1, 6)..(2, 0); } |
5552 |
|
@@@c:erred: <[[xp|wf-syntax-error]]> { } |
5553 |
|
@@XMLTest: |
5554 |
|
@@@QName: xp.xml10.endofline.crnl.in.xmldecl.1.test |
5555 |
|
@@@DEnt: |
5556 |
|
@@@@test:value: |
5557 |
|
<?xml$u000D$u0085version="1.0"?> |
5558 |
|
<p/> |
5559 |
|
@@@c:erred: |
5560 |
|
<[[xp|fatal-xml11-end-of-line-in-xml-declaration]]> { (1, 6)..(2, 0); } |
5561 |
|
@@@c:erred: <[[xp|wf-syntax-error]]> { } |
5562 |
|
@@XMLTest: |
5563 |
|
@@@QName: xp.xml11.endofline.crnl.in.xmldecl.1.test |
5564 |
|
@@@DEnt: |
5565 |
|
@@@@test:value: |
5566 |
|
<?xml$u000D$u0085version="1.1"?> |
5567 |
|
(err)<p/> |
5568 |
|
@@@c:erred: |
5569 |
|
<[[xp|fatal-xml11-end-of-line-in-xml-declaration]]> { (1, 6)..(2, 0); } |
5570 |
|
@@@c:erred: <[[xp|wf-syntax-error]]> { } |
5571 |
|
@@XMLTest: |
5572 |
|
@@@QName: xp.xml10.endofline.ls.in.xmldecl.1.test |
5573 |
|
@@@DEnt: |
5574 |
|
@@@@test:value: |
5575 |
|
<?xml$u2028version="1.0"?> |
5576 |
|
<p/> |
5577 |
|
@@@c:erred: |
5578 |
|
<[[xp|fatal-xml11-end-of-line-in-xml-declaration]]> { (1, 6)..(2, 0); } |
5579 |
|
@@@c:erred: <[[xp|wf-syntax-error]]> { } |
5580 |
|
@@XMLTest: |
5581 |
|
@@@QName: xp.xml11.endofline.ls.in.xmldecl.1.test |
5582 |
|
@@@DEnt: |
5583 |
|
@@@@test:value: |
5584 |
|
<?xml$u2028version="1.1"?> |
5585 |
|
(err)<p/> |
5586 |
|
@@@c:erred: |
5587 |
|
<[[xp|fatal-xml11-end-of-line-in-xml-declaration]]> { (1, 6)..(2, 0); } |
5588 |
|
@@@c:erred: <[[xp|wf-syntax-error]]> { } |
5589 |
|
@@XMLTest: |
5590 |
|
@@@QName: xp.xml10.endofline.nl.in.xmldecl.2.test |
5591 |
|
@@@DEnt: |
5592 |
|
@@@@test:value: |
5593 |
|
<?xml version="1.0"$u0085?> |
5594 |
|
<p/> |
5595 |
|
@@@c:erred: |
5596 |
|
<[[xp|fatal-xml11-end-of-line-in-xml-declaration]]> { (1, 20)..(2, 0); } |
5597 |
|
@@@c:erred: <[[xp|wf-syntax-error]]> { } |
5598 |
|
@@XMLTest: |
5599 |
|
@@@QName: xp.xml11.endofline.nl.in.xmldecl.2.test |
5600 |
|
@@@DEnt: |
5601 |
|
@@@@test:value: |
5602 |
|
<?xml version="1.1"$u0085?> |
5603 |
|
(err)<p/> |
5604 |
|
@@@c:erred: |
5605 |
|
<[[xp|fatal-xml11-end-of-line-in-xml-declaration]]> { (1, 20)..(2, 0); } |
5606 |
|
@@@c:erred: <[[xp|wf-syntax-error]]> { } |
5607 |
|
@@XMLTest: |
5608 |
|
@@@QName: xp.xml10.endofline.crnl.in.xmldecl.2.test |
5609 |
|
@@@DEnt: |
5610 |
|
@@@@test:value: |
5611 |
|
<?xml version="1.0"$u000D$u0085?> |
5612 |
|
<p/> |
5613 |
|
@@@c:erred: |
5614 |
|
<[[xp|fatal-xml11-end-of-line-in-xml-declaration]]> { (1, 20)..(2, 0); } |
5615 |
|
@@@c:erred: <[[xp|wf-syntax-error]]> { } |
5616 |
|
@@XMLTest: |
5617 |
|
@@@QName: xp.xml11.endofline.crnl.in.xmldecl.2.test |
5618 |
|
@@@DEnt: |
5619 |
|
@@@@test:value: |
5620 |
|
<?xml version="1.1"$u000D$u0085?> |
5621 |
|
(err)<p/> |
5622 |
|
@@@c:erred: |
5623 |
|
<[[xp|fatal-xml11-end-of-line-in-xml-declaration]]> { (1, 20)..(2, 0); } |
5624 |
|
@@@c:erred: <[[xp|wf-syntax-error]]> { } |
5625 |
|
@@XMLTest: |
5626 |
|
@@@QName: xp.xml10.endofline.ls.in.xmldecl.2.test |
5627 |
|
@@@DEnt: |
5628 |
|
@@@@test:value: |
5629 |
|
<?xml version="1.0"$u2028?> |
5630 |
|
<p/> |
5631 |
|
@@@c:erred: |
5632 |
|
<[[xp|fatal-xml11-end-of-line-in-xml-declaration]]> { (1, 20)..(2, 0); } |
5633 |
|
@@@c:erred: <[[xp|wf-syntax-error]]> { } |
5634 |
|
@@XMLTest: |
5635 |
|
@@@QName: xp.xml11.endofline.ls.in.xmldecl.2.test |
5636 |
|
@@@DEnt: |
5637 |
|
@@@@test:value: |
5638 |
|
<?xml version="1.1"$u2028?> |
5639 |
|
(err)<p/> |
5640 |
|
@@@c:erred: |
5641 |
|
<[[xp|fatal-xml11-end-of-line-in-xml-declaration]]> { (1, 20)..(2, 0); } |
5642 |
|
@@@c:erred: <[[xp|wf-syntax-error]]> { } |
5643 |
|
@@XMLTest: |
5644 |
|
@@@QName: xp.xml10.endofline.nl.in.xmldecl.3.test |
5645 |
|
@@@DEnt: |
5646 |
|
@@@@test:value: |
5647 |
|
<?xml $u0085version="1.0"?> |
5648 |
|
<p/> |
5649 |
|
@@@c:erred: |
5650 |
|
<[[xp|fatal-xml11-end-of-line-in-xml-declaration]]> { (1, 7)..(2, 0); } |
5651 |
|
@@@c:erred: <[[xp|wf-syntax-error]]> { } |
5652 |
|
@@XMLTest: |
5653 |
|
@@@QName: xp.xml11.endofline.nl.in.xmldecl.3.test |
5654 |
|
@@@DEnt: |
5655 |
|
@@@@test:value: |
5656 |
|
<?xml $u0085version="1.1"?> |
5657 |
|
(err)<p/> |
5658 |
|
@@@c:erred: |
5659 |
|
<[[xp|fatal-xml11-end-of-line-in-xml-declaration]]> { (1, 7)..(2, 0); } |
5660 |
|
@@@c:erred: <[[xp|wf-syntax-error]]> { } |
5661 |
|
@@XMLTest: |
5662 |
|
@@@QName: xp.xml10.endofline.crnl.in.xmldecl.3.test |
5663 |
|
@@@DEnt: |
5664 |
|
@@@@test:value: |
5665 |
|
<?xml $u000D$u0085version="1.0"?> |
5666 |
|
<p/> |
5667 |
|
@@@c:erred: |
5668 |
|
<[[xp|fatal-xml11-end-of-line-in-xml-declaration]]> { (1, 7)..(2, 0); } |
5669 |
|
@@@c:erred: <[[xp|wf-syntax-error]]> { } |
5670 |
|
@@XMLTest: |
5671 |
|
@@@QName: xp.xml11.endofline.crnl.in.xmldecl.3.test |
5672 |
|
@@@DEnt: |
5673 |
|
@@@@test:value: |
5674 |
|
<?xml $u000D$u0085version="1.1"?> |
5675 |
|
(err)<p/> |
5676 |
|
@@@c:erred: |
5677 |
|
<[[xp|fatal-xml11-end-of-line-in-xml-declaration]]> { (1, 7)..(2, 0); } |
5678 |
|
@@@c:erred: <[[xp|wf-syntax-error]]> { } |
5679 |
|
@@XMLTest: |
5680 |
|
@@@QName: xp.xml10.endofline.ls.in.xmldecl.3.test |
5681 |
|
@@@DEnt: |
5682 |
|
@@@@test:value: |
5683 |
|
<?xml $u2028version="1.0"?> |
5684 |
|
<p/> |
5685 |
|
@@@c:erred: |
5686 |
|
<[[xp|fatal-xml11-end-of-line-in-xml-declaration]]> { (1, 7)..(2, 0); } |
5687 |
|
@@@c:erred: <[[xp|wf-syntax-error]]> { } |
5688 |
|
@@XMLTest: |
5689 |
|
@@@QName: xp.xml11.endofline.ls.in.xmldecl.3.test |
5690 |
|
@@@DEnt: |
5691 |
|
@@@@test:value: |
5692 |
|
<?xml $u2028version="1.1"?> |
5693 |
|
(err)<p/> |
5694 |
|
@@@c:erred: |
5695 |
|
<[[xp|fatal-xml11-end-of-line-in-xml-declaration]]> { (1, 7)..(2, 0); } |
5696 |
|
@@@c:erred: <[[xp|wf-syntax-error]]> { } |
5697 |
|
@@XMLTest: |
5698 |
|
@@@QName: xp.xml10implied.endofline.nl.in.pi.1.test |
5699 |
|
@@@DEnt: |
5700 |
|
@@@@test:value: |
5701 |
|
<?xml-$u0085?> |
5702 |
|
<p/> |
5703 |
|
@@@c:erred: <[[xp|wf-syntax-error]]> { (1, 7)..(2, 0); } |
5704 |
|
@@XMLTest: |
5705 |
|
@@@QName: xp.xml10.endofline.nl.in.pi.1.test |
5706 |
|
@@@DEnt: |
5707 |
|
@@@@test:value: |
5708 |
|
<?xml version="1.0"?> |
5709 |
|
<?xml-$u0085?> |
5710 |
|
<p/> |
5711 |
|
@@@c:erred: <[[xp|wf-syntax-error]]> { (2, 7)..(3, 0); } |
5712 |
|
@@XMLTest: |
5713 |
|
@@@QName: xp.xml11.endofline.nl.in.pi.1.test |
5714 |
|
@@@DEnt: |
5715 |
|
@@@@test:value: |
5716 |
|
<?xml version="1.1"?> |
5717 |
|
<?xml-$u0085?> |
5718 |
|
<p/> |
5719 |
|
@@@test:domTree: |
5720 |
|
document { |
5721 |
|
xml-version: '1.1'; |
5722 |
|
pi { |
5723 |
|
node-name: 'xml-'; |
5724 |
|
node-value: ''; |
5725 |
|
} |
5726 |
|
element { } |
5727 |
|
} |
5728 |
|
@@XMLTest: |
5729 |
|
@@@QName: xp.xml10implied.endofline.crnl.in.pi.1.test |
5730 |
|
@@@DEnt: |
5731 |
|
@@@@test:value: |
5732 |
|
<?xml-$u000D$u0085?> |
5733 |
|
<p/> |
5734 |
|
@@@test:domTree: |
5735 |
|
document { |
5736 |
|
xml-version: '1.0'; |
5737 |
|
pi { |
5738 |
|
node-name: 'xml-'; |
5739 |
|
node-value: U+0085; |
5740 |
|
} |
5741 |
|
element { } |
5742 |
|
} |
5743 |
|
@@XMLTest: |
5744 |
|
@@@QName: xp.xml10.endofline.crnl.in.pi.1.test |
5745 |
|
@@@DEnt: |
5746 |
|
@@@@test:value: |
5747 |
|
<?xml version="1.0"?> |
5748 |
|
<?xml-$u000D$u0085?> |
5749 |
|
<p/> |
5750 |
|
@@@test:domTree: |
5751 |
|
document { |
5752 |
|
xml-version: '1.0'; |
5753 |
|
pi { |
5754 |
|
node-name: 'xml-'; |
5755 |
|
node-value: U+0085; |
5756 |
|
} |
5757 |
|
element { } |
5758 |
|
} |
5759 |
|
@@XMLTest: |
5760 |
|
@@@QName: xp.xml11.endofline.crnl.in.pi.1.test |
5761 |
|
@@@DEnt: |
5762 |
|
@@@@test:value: |
5763 |
|
<?xml version="1.1"?> |
5764 |
|
<?xml-$u000D$u0085?> |
5765 |
|
<p/> |
5766 |
|
@@@test:domTree: |
5767 |
|
document { |
5768 |
|
xml-version: '1.1'; |
5769 |
|
pi { |
5770 |
|
node-name: 'xml-'; |
5771 |
|
node-value: ''; |
5772 |
|
} |
5773 |
|
element { } |
5774 |
|
} |
5775 |
|
@@XMLTest: |
5776 |
|
@@@QName: xp.xml10implied.endofline.ls.in.pi.1.test |
5777 |
|
@@@DEnt: |
5778 |
|
@@@@test:value: |
5779 |
|
<?xml-$u2028?> |
5780 |
|
<p/> |
5781 |
|
@@@c:erred: <[[xp|wf-syntax-error]]> { (1, 7)..(2, 0); } |
5782 |
|
@@XMLTest: |
5783 |
|
@@@QName: xp.xml10.endofline.ls.in.pi.1.test |
5784 |
|
@@@DEnt: |
5785 |
|
@@@@test:value: |
5786 |
|
<?xml version="1.0"?> |
5787 |
|
<?xml-$u2028?> |
5788 |
|
<p/> |
5789 |
|
@@@c:erred: <[[xp|wf-syntax-error]]> { (2, 7)..(3, 0); } |
5790 |
|
@@XMLTest: |
5791 |
|
@@@QName: xp.xml11.endofline.ls.in.pi.1.test |
5792 |
|
@@@DEnt: |
5793 |
|
@@@@test:value: |
5794 |
|
<?xml version="1.1"?> |
5795 |
|
<?xml-$u2028?> |
5796 |
|
<p/> |
5797 |
|
@@@test:domTree: |
5798 |
|
document { |
5799 |
|
xml-version: '1.1'; |
5800 |
|
pi { |
5801 |
|
node-name: 'xml-'; |
5802 |
|
node-value: ''; |
5803 |
|
} |
5804 |
|
element { } |
5805 |
|
} |
5806 |
|
@@XMLTest: |
5807 |
|
@@@QName: xp.noxmldecl.pi.pi.test |
5808 |
|
@@@DEnt: |
5809 |
|
@@@@test:value: |
5810 |
|
<?noxml 1?><?noxml 2?><p/> |
5811 |
|
@@@test:domTree: |
5812 |
|
document { |
5813 |
|
xml-version: '1.0'; |
5814 |
|
pi { |
5815 |
|
node-name: 'noxml'; |
5816 |
|
node-value: '1'; |
5817 |
|
} |
5818 |
|
pi { |
5819 |
|
node-name: 'noxml'; |
5820 |
|
node-value: '2'; |
5821 |
|
} |
5822 |
|
element { } |
5823 |
|
} |
5824 |
|
@@XMLTest: |
5825 |
|
@@@QName: xp.noxmldecl.pi.pi.2.test |
5826 |
|
@@@DEnt: |
5827 |
|
@@@@test:value: |
5828 |
|
<?xmlno 1?><?xmlno 2?><p/> |
5829 |
|
@@@test:domTree: |
5830 |
|
document { |
5831 |
|
xml-version: '1.0'; |
5832 |
|
pi { |
5833 |
|
node-name: 'xmlno'; |
5834 |
|
node-value: '1'; |
5835 |
|
} |
5836 |
|
pi { |
5837 |
|
node-name: 'xmlno'; |
5838 |
|
node-value: '2'; |
5839 |
|
} |
5840 |
|
element { } |
5841 |
|
} |
5842 |
|
@@XMLTest: |
5843 |
|
@@@QName: xp.noxmldecl.pi.pi.3.test |
5844 |
|
@@@DEnt: |
5845 |
|
@@@@test:value: |
5846 |
|
<?xmln 1?><?xmln 2?><p/> |
5847 |
|
@@@test:domTree: |
5848 |
|
document { |
5849 |
|
xml-version: '1.0'; |
5850 |
|
pi { |
5851 |
|
node-name: 'xmln'; |
5852 |
|
node-value: '1'; |
5853 |
|
} |
5854 |
|
pi { |
5855 |
|
node-name: 'xmln'; |
5856 |
|
node-value: '2'; |
5857 |
|
} |
5858 |
|
element { } |
5859 |
|
} |
5860 |
|
@@XMLTest: |
5861 |
|
@@@QName: xp.noxml.s.nl.test |
5862 |
|
@@@DEnt: |
5863 |
|
@@@@test:value: |
5864 |
|
$u0085<p/> |
5865 |
|
@@@c:erred: <[[xp|wf-syntax-error]]> { (1, 1)..(2, 0); } |
5866 |
|
@@XMLTest: |
5867 |
|
@@@QName: xp.noxml.s.crnl.test |
5868 |
|
@@@DEnt: |
5869 |
|
@@@@test:value: |
5870 |
|
$u000D$u0085<p/> |
5871 |
|
@@@c:erred: <[[xp|wf-syntax-error]]> { (1, 1)..(2, 0); } |
5872 |
|
@@XMLTest: |
5873 |
|
@@@QName: xp.noxml.s.ls.test |
5874 |
|
@@@DEnt: |
5875 |
|
@@@@test:value: |
5876 |
|
$u2028<p/> |
5877 |
|
@@@c:erred: <[[xp|wf-syntax-error]]> { (1, 1)..(2, 0); } |
5878 |
|
@@XMLTest: |
5879 |
|
@@@QName: xp.xml10.decl.s.nl.test |
5880 |
|
@@@DEnt: |
5881 |
|
@@@@test:value: |
5882 |
|
<?xml version="1.0"?>$u0085<p/> |
5883 |
|
@@@c:erred: <[[xp|wf-syntax-error]]> { (1, 22)..(2, 0); } |
5884 |
|
@@XMLTest: |
5885 |
|
@@@QName: xp.xml10.decl.s.crnl.test |
5886 |
|
@@@DEnt: |
5887 |
|
@@@@test:value: |
5888 |
|
<?xml version="1.0"?>$u000D$u0085<p/> |
5889 |
|
@@@c:erred: <[[xp|wf-syntax-error]]> { (2, 0)..(3, 0); } |
5890 |
|
@@XMLTest: |
5891 |
|
@@@QName: xp.xml10.decl.s.ls.test |
5892 |
|
@@@DEnt: |
5893 |
|
@@@@test:value: |
5894 |
|
<?xml version="1.0"?>$u2028<p/> |
5895 |
|
@@@c:erred: <[[xp|wf-syntax-error]]> { (1, 22)..(2, 0); } |
5896 |
|
@@XMLTest: |
5897 |
|
@@@QName: xp.xml11.decl.s.nl.test |
5898 |
|
@@@DEnt: |
5899 |
|
@@@@test:value: |
5900 |
|
<?xml version="1.1"?>$u0085<p/> |
5901 |
|
@@@test:domTree: |
5902 |
|
document { |
5903 |
|
xml-version: '1.1'; |
5904 |
|
element { } |
5905 |
|
} |
5906 |
|
@@XMLTest: |
5907 |
|
@@@QName: xp.xml11.decl.s.crnl.test |
5908 |
|
@@@DEnt: |
5909 |
|
@@@@test:value: |
5910 |
|
<?xml version="1.1"?>$u000D$u0085<p/> |
5911 |
|
@@@test:domTree: |
5912 |
|
document { |
5913 |
|
xml-version: '1.1'; |
5914 |
|
element { } |
5915 |
|
} |
5916 |
|
@@XMLTest: |
5917 |
|
@@@QName: xp.xml11.decl.s.ls.test |
5918 |
|
@@@DEnt: |
5919 |
|
@@@@test:value: |
5920 |
|
<?xml version="1.1"?>$u2028<p/> |
5921 |
|
@@@test:domTree: |
5922 |
|
document { |
5923 |
|
xml-version: '1.1'; |
5924 |
|
element { } |
5925 |
|
} |
5926 |
|
|
5927 |
@@XMLTest: |
@@XMLTest: |
5928 |
@@@QName: xp.doctype.intsubset.pi.test |
@@@QName: xp.doctype.intsubset.pi.test |
7084 |
@@For: ManakaiDOM|DOM3 |
@@For: ManakaiDOM|DOM3 |
7085 |
@@ecore:textFormatter: ManakaiXMLParserExceptionFormatter |
@@ecore:textFormatter: ManakaiXMLParserExceptionFormatter |
7086 |
|
|
7087 |
|
ElementTypeBinding: |
7088 |
|
@Name: FatalErrDef |
7089 |
|
@ElementType: |
7090 |
|
dis:ResourceDef |
7091 |
|
@ShadowContent: |
7092 |
|
@@rdf:type: DOMCore|DOMErrorType |
7093 |
|
@@For: ManakaiDOM|DOM3 |
7094 |
|
@@ecore:textFormatter: ManakaiXMLParserExceptionFormatter |
7095 |
|
|
7096 |
WFErrDef: |
WFErrDef: |
7097 |
@QName: xp|wf-syntax-error |
@QName: xp|wf-syntax-error |
7098 |
@enDesc: |
@enDesc: |
7269 |
The parent node in which the character reference has |
The parent node in which the character reference has |
7270 |
occurred, if available. |
occurred, if available. |
7271 |
|
|
7272 |
|
FatalErrDef: |
7273 |
|
@QName: xp|fatal-xml11-end-of-line-in-xml-declaration |
7274 |
|
@DOMCore:severity: DOMCore|SEVERITY_ERROR |
7275 |
|
@enDesc: |
7276 |
|
An end-of-line character <CODE::U+0085> or <CODE::U+2028> is appeared |
7277 |
|
within an XML declaration or text declaration. |
7278 |
|
@enMufDef: |
7279 |
|
End-of-line character %character-code-point |
7280 |
|
(v => {<Q::xp|character-number>}); cannot be used within the |
7281 |
|
XML or text declaration |
7282 |
|
@ecore:hasParameter: |
7283 |
|
@@@: xp|character-number |
7284 |
|
@@enDesc: |
7285 |
|
The code position of the end-of-line character. |
7286 |
|
|
7287 |
XWParam: |
XWParam: |
7288 |
@QName: xp|error-token |
@QName: xp|error-token |
7289 |
@enDesc: |
@enDesc: |