XML not validating in Mac OS X

Having trouble installing Oxygen? Got a bug to report? Post it all here.
bay
Posts: 5
Joined: Tue Mar 04, 2008 5:07 am

XML not validating in Mac OS X

Post 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
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: XML not validating in Mac OS X

Post 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
Post Reply