[xml] Problem with filenames with :'s in them on UNIX...



Anyone ever ran into problems loading .xml files with xmllint that
have a : in the filename?

% xmllint -noout --valid --postvalid sa-01:32.xml
file:///usr/local/share/xml/catalog:1: error: Start tag expected, '<' not found
CATALOG "sdocbook/catalog"
^
sa-01:32.xml:3: error: failed to load external entity "sa-01://security_advisory.dtd"
<!DOCTYPE security_advisory SYSTEM 'security_advisory.dtd'>
                                                          ^
sa-01:32.xml:5: validity error: Validation failed: no DTD found !
<security_advisory>
                  ^
% ls -lA
total 10
-rw-r--r--  1 sean  sean    88 Apr  9 03:38 .memdump
-rw-r--r--  1 sean  sean   535 Apr  9 03:36 Makefile
-rw-r--r--  1 sean  sean  3655 Apr  9 03:36 sa-01:32.xml
-rw-r--r--  1 sean  sean  1101 Apr  9 03:23 security_advisory.dtd

*scratches head*  This a known got'cha/bug?  -sc

-- 
Sean Chittenden



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]