Page 1 of 1

XML not validating in Mac OS X

Posted: Tue Mar 04, 2008 5:20 am
by bay
Hi,

I've got some XML that I'm trying to validate against a local DTD. The DTD has a reference to an oasis CALS DTD.

In Oxygen on Windows the XML validates fine but in my Mac OS X version it doesn't – I get a file path problem.

Oxygen responds:

FileNotFoundException-/Users/MyAccoutn/Desktop/ConversionDocs Folder/library/..\library\oasis_xml_exchange_table_model_19990315.dtd (No such file or directory)

I'm an XML beginner, so sorry if there is very obvious solution to this.

Thanks,

Bay

Re: XML not validating in Mac OS X

Posted: Tue Mar 04, 2008 11:03 am
by sorin_ristache
Hello,

You used a Windows file path when you referenced the DTD:

Code: Select all

..\library\oasis_xml_exchange_table_model_19990315.dtd
That is not portable on Mac OS X. You can use a Unix file path which works both on Windows and on Mac OS X:

Code: Select all

../library/oasis_xml_exchange_table_model_19990315.dtd
Regards,
Sorin