john renfrew Posted September 12, 2012 Posted September 12, 2012 Thanks for the new functions... Usually just download the plugin only so grabbed the whole thing tonight to copy the new functions -- is it worth noting on the examples for SetFileMakerClipboard and GetFileMakerClipboard that they only work in that fashion in v11??? copying a similar object in 12 gives >> java.lang.IllegalStateException: The clipboard does not contain data in any recognizable format the validate XML example gives >> java.net.UnknownHostException: fmwpe.360works.com
wbasham Posted September 13, 2012 Posted September 13, 2012 John, The changes to the plugin were to address a bug occurring in Windows when copying and pasting layout elements in FileMaker 12. Can you tell me which OS you are using? Also, are you getting an error with a specific layout object type or any object? The error you listed appears to be related specifically to the GetFileMakerClipboard module. Are you getting an error when using the sample for SetFileMakerClipboard as well? It looks like for our example for Validate XML contains a couple issues with the XML. The host is not correct and FileMaker is not hosting the FMPXMLRESULT.dtd. Do you have some specific XML data that you want to validate and won't work? If you are just letting us know about the issue with the example we appreciate the feedback and will try to get a working example in the next release of the plugin.
wbasham Posted September 13, 2012 Posted September 13, 2012 John, Here is a block of XML that you can use in the Validate XML function. It has some errors in it but the function successfully finds them based on the schema. <?xml version="1.0" encoding="UTF-8"?> <addresses xmlns:xsi="http://www.w3.org/20...Schema-instance" xsi:noNamespaceSchemaLocation='test.xsd'> <address> <name>Joe Tester</name> <street>Baker street 5</street> <wrongExtraField/> </wrongClosingTag> </addresses>
john renfrew Posted September 13, 2012 Author Posted September 13, 2012 Thanks Brent Issue at my end was that the plugin had copied but not installed so it was still using 4.132.... All is fine now. I thought that FM12 install plugin script step had fixed that bit of behaviour but obviously not.
Recommended Posts
This topic is 4522 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now