
Hi Eliot, Quick fix: in Options->Preferences -- Document Type Association disable the "Only for local DTDs/XML Schemas" optimization flag. Details: When this flag is on we resolve non local files to an empty source. While this works for DTDs for XML Schemas the parser throws an exception before it reports the root element and we do not get the chance to see the schema location attributes, thus the observed behavior. This appears only when both conditions below are met: "Enable DTD/XML Schema processing in document type detection" is enabled "Only for local DTDs/XML Schemas" is disabled and a document refers an XML Schema that is not mapped though an XML Catalog in a local copy. We will fix this for 10.3 thanks for reporting it! Best Regards, George -- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com Eliot Kimber wrote:
On 6/3/09 3:15 PM, "Eliot Kimber" <ekimber@reallysi.com> wrote:
Via Webdav to an instance of an RSuiteCMS database I have edited a document that looks like this:
<Chapter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://localhost:8080/rsuite/schemas/6d00bb0 04fcee1765c68a4bb7dafa548.xsd">
Where the URL of the XSD schema can be resolved by Oxygen (that is, I can do ctrl+enter and the schema document opens).
However, Oxygen says there is no DTD or schema associated with the document and won't validate it.
In the past I've had this problem when my catalogs were not configured correctly, but here there is an explicit and resolvable URL.
Is my problem a configuration problem and if so, what would the configuration issue be?
Thanks,
Eliot
Follow up: if I save the XSD locally and change the schema location to a file:// URL to that saved version, then validation works.
Cheers,
Eliot ---- Eliot Kimber | Senior Solutions Architect | Really Strategies, Inc. email: ekimber@reallysi.com <mailto:ekimber@reallysi.com> office: 610.631.6770 | cell: 512.554.9368 2570 Boulevard of the Generals | Suite 213 | Audubon, PA 19403 www.reallysi.com <http://www.reallysi.com> | http://blog.reallysi.com <http://blog.reallysi.com> | www.rsuitecms.com <http://www.rsuitecms.com>
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user