Re: [xml] v2.9.2 regression when using absolute paths without file: scheme in catalog?



Following up myself:

Even when I replace all file references in the XML catalog with proper
file:///... ones, v2.9.2 still gets errors back from stat64:

$ sudo dtruss -t stat64 xmllint  --loaddtd --load-trace --noout --noent
test.xml 2>&1  | grep Err
stat64("/AppleInternal\0", 0x7FFF5B199918, 0x0)          = -1 Err#2
stat64("http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\0";,
0x7FFF5B198A38, 0x8)             = -1 Err#2
stat64("http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\0";,
0x7FFF5B198968, 0x8)             = -1 Err#2
stat64("file:/opt/local/share/xml/html/4/xhtml-lat1.ent\0",
0x7FFF5B198908, 0x2)             = -1 Err#2
stat64("file:/opt/local/share/xml/html/4/xhtml-lat1.ent\0",
0x7FFF5B198838, 0x2)             = -1 Err#2
stat64("file:/opt/local/share/xml/html/4/xhtml-symbol.ent\0",
0x7FFF5B198908, 0x2)             = -1 Err#2
stat64("file:/opt/local/share/xml/html/4/xhtml-symbol.ent\0",
0x7FFF5B198838, 0x2)             = -1 Err#2
stat64("file:/opt/local/share/xml/html/4/xhtml-special.ent\0",
0x7FFF5B198908, 0x2)             = -1 Err#2
stat64("file:/opt/local/share/xml/html/4/xhtml-special.ent\0",
0x7FFF5B198838, 0x2)             = -1 Err#2


Note that this is "file:/opt/local/" although all my catalog entries say
"file:///opt/local/...", so some internal mangling must have occurred
before this.

Best regards
Matthias



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