Changeset 2123

Show
Ignore:
Timestamp:
12/28/06 16:11:37
Author:
miyagawa
Message:

apply patch from Satoshi

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • XML-Liberal/trunk/Changes

    r1932 r2123  
    11Revision history for Perl extension XML::Liberal 
     2 
     30.17 
     4        - Added Declaration remedy to handle XML with spaces prior to the XML decl. 
     5          (Thanks to Satoshi Tanimoto) 
    26 
    370.16  Mon Aug 28 20:35:07 JST 2006 
  • XML-Liberal/trunk/MANIFEST

    r1929 r2123  
    2020lib/XML/Liberal/Remedy.pm 
    2121lib/XML/Liberal/Remedy/ControlCode.pm 
     22lib/XML/Liberal/Remedy/Declaration.pm 
    2223lib/XML/Liberal/Remedy/EntityRef.pm 
    2324lib/XML/Liberal/Remedy/HTMLEntity.pm 
     
    7475t/bad/BAD-control-cdata.xml 
    7576t/bad/BAD-control.xml 
     77t/bad/BAD-declaration.xml 
    7678t/bad/BAD-euc.xml 
    7779t/bad/BAD-html.xml 
  • XML-Liberal/trunk/MANIFEST.bak

    r1929 r2123  
    11Changes 
     2inc/Module/Install.pm 
     3inc/Module/Install/Base.pm 
     4inc/Module/Install/Can.pm 
     5inc/Module/Install/Fetch.pm 
     6inc/Module/Install/Include.pm 
     7inc/Module/Install/Makefile.pm 
     8inc/Module/Install/Metadata.pm 
     9inc/Module/Install/TestBase.pm 
     10inc/Module/Install/Win32.pm 
     11inc/Module/Install/WriteAll.pm 
     12inc/Spiffy.pm 
     13inc/Test/Base.pm 
     14inc/Test/Base/Filter.pm 
     15inc/Test/Builder.pm 
     16inc/Test/Builder/Module.pm 
     17inc/Test/More.pm 
    218lib/XML/Liberal.pm 
    319lib/XML/Liberal/LibXML.pm 
     
    1531Makefile.PL 
    1632MANIFEST                        This list of files 
     33META.yml 
    1734t/00_compile.t 
    1835t/01_bad.t 
    1936t/02_global.t 
    2037t/03_global_destroy.t 
     38t/04_sanity.t 
    2139t/bad/BAD-ampersand.xml 
    2240t/bad/BAD-atttibute.xml 
  • XML-Liberal/trunk/lib/XML/Liberal/LibXML.pm

    r1932 r2123  
    138138        return XML::Liberal::Remedy::LowAsciiChars->new; 
    139139    } 
     140    elsif ($errors[0] =~ /^:(\d+): parser error : XML declaration allowed only at the start of the document/) { 
     141        my($line) = ($1); 
     142        return XML::Liberal::Remedy::Declaration->new; 
     143    } 
    140144 
    141145    #warn $_[1];