
29 Mar
2004
29 Mar
'04
3:37 p.m.
Hi Steve!
Steve Bucknam wrote:
I am running smidump on "RFC1213-MIB" as follows:
smidump.exe --xsd-container --xsd-schema-url="http://localhost:8080/snmp-gw/xsd" -f xsd -o RFC1213-MIB.xsd RFC1213-MIB
[...]
Note the the namespace generated for smi ("http://localhost:8080/snmp-gw/xsd/smi") does not match the import ("http://www.ibr.cs.tu-bs.de/projects/libsmi/xsd/smi.xsd"). The import statement seems to be hardcoded in dump-xsd.c, but the xmlns is uses the specified commandline url prefix. Am I missing something?
URLs used with the "--xsd-schema-url" option should end with a '/'. I fixed a bug so that URLs without a trailing '/' work as well.
Best regards, Torsten