tag:blogger.com,1999:blog-22006937335082921862009-07-07T18:16:53.576-04:00Paul Kiel's Data Integration BlogData integration using Xml / Xslt and anything else...Paulhttp://www.blogger.com/profile/10201367533944398106noreply@blogger.comBlogger30125tag:blogger.com,1999:blog-2200693733508292186.post-2607844231366901502009-04-16T20:42:00.004-04:002009-04-16T21:07:09.377-04:00Fourth data standards consortiaI've been talking directly with my 4th data standards consortia (all listed below). It seems I am getting a reputation for this. The fourth is a new organization that is dedicated to world food traceability. Recent news stories about problems have illustrated the need to find a solution. News reports of <a href="http://www.cnn.com/2009/HEALTH/01/12/salmonella.minnesota/index.html?iref=newssearch">Peanut butter</a> in Minnesota and <a href="http://www.cnn.com/2008/HEALTH/07/01/salmonella.tomatoes/index.html?iref=newssearch">tomatoes</a> in the southwest show an outbreak of salmonella. But finding the source of these outbreaks has proven difficult. The folks at <a href="http://www.worldfoodtrace.org">World Food Trace</a> are working to create an effective solution that is very cost effective.<br /><ul><li><a href="http://www.oagi.org/">Open Applications Group</a></li><li><a href="http://www.hr-xml.org/">HR-XML</a></li><li><a href="http://www.casrai.org/">CASRAI</a></li><li><a href="http://www.worldfoodtrace.org/">WorldFoodTrace</a></li></ul>And in fact, my work with OAGi has begun to branch out because of its role as a platform on which other standards can build. So a convergence is occurring, which is connecting me to groups like CIDX, UN/CEFACT, STAR, AIAG, ISA, WBF, PDES (STEP) and others.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2200693733508292186-260784423136690150?l=www.xmlhelpline.com%2Fblog'/></div>Paulhttp://www.blogger.com/profile/10201367533944398106noreply@blogger.com0tag:blogger.com,1999:blog-2200693733508292186.post-1051465563463662642009-02-23T14:21:00.004-05:002009-02-23T14:47:09.233-05:00XBRL, HL7 and the rise of domain data modelsBeen reading several items relating to the <a href="http://www.sec.gov/news/press/2008/2008-85.htm">new proposal</a> to require the use of <a href="http://www.xbrl.org">XBRL</a> for financial reporting. Indeed, Kurt Cagle has an extensive post, saying "<a href="http://broadcast.oreilly.com/2009/02/xbrl-becomes-mandatory---this.html">this should be interesting</a>." He suggests that this development should have a number of effects, including an increased need for Xml skills. Even <a href="http://www.xmlaficionado.com/2009/02/xbrl-and-hl7-thoughts.html">Alexander Falk of XmlSpy</a> (actually the company name is Altova but their flagship app is xmlspy) has commented on his company's product native support for both XBRL and HL7. <br /><br />While I haven't worked intimately with XBRL, I have looked at their library from a design / best practice perspective as it relates to the other Xml Consortia for whom I have consulted. Its ontological nature is interesting and I think has something to say about that kind of data model.<br />The reason I group HL7 in there is because of the new administration's effort to push for electronic records in health care. This doesn't name HL7 by name, but one can't help but connect the two. Now having worked with a number of Xml Consortia, from human resources to supply chain management to media to research administration, I have always been amazed at the contrast between how technologically advanced the product is (medical care) and how *under*-automated the infrastructure is. <br /><br />So I'll end the post by saying that I hope the trend is for the better. There is so much really good work being done in these domain Consortia and I'd love to see them have a broader impact. Yes, they each have their quirks (and not all of them are worth implementing), but the promise of domain data models has always been good. <span style="font-weight: bold;">And there are many of us out there who are working to make these Consortia adopt common design patterns.</span> Now we need to roll up our shirt sleeves and make them more of a reality.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2200693733508292186-105146556346366264?l=www.xmlhelpline.com%2Fblog'/></div>Paulhttp://www.blogger.com/profile/10201367533944398106noreply@blogger.com0tag:blogger.com,1999:blog-2200693733508292186.post-29927763660564943302009-02-03T11:13:00.007-05:002009-02-03T13:27:02.593-05:00Schema Lightener 2.0 releasedAnnouncing a new release of the “<a href="http://www.xmlhelpline.com/tools/">Xml Schema Lightener</a>” utility. It has been completely updated and is now version 2.0.<br /><br />What it does<br />----------------<br />It takes an Xml Schema and creates a subset based on user input. Some refer to this with terms such as a “subset Schema view”, “pruned Schema”, “LiteBOD”, or “profiled Schema”.<br /><br />Why it does this<br />----------------<br />Consider these use cases:<br /><ol><li>You have an Xml Schema and want to implement a subset (a selected portion) of the data points. Or you want to communicate the selected data points to an audience.</li><li>You have an internal data model in Schema and want to communicate to a trading partner only the data points necessary for a particular integration.</li><li>You are implementing an Xml Schema acquired from somewhere else (i.e. from a trading partner, or from a standards consortium such as OAGi, HR-XML, etc.) and want to implement only the data points relevant to your business context.<br /></li></ol>In all these cases, it would be useful to create a Schema that shows these points and can be used for validation. The Xml Schema Lightener allows you to create the contextual Schema that each of these require. It does it using simple XSLT and Xml. And a GUI is included to make it easy to use.<br /><br />It has been <a href="http://www.xmlhelpline.com/blog/2008/10/schema-lightener-undergoes-heavy.html">heavily tested</a>, includes a free <a href="http://www.xmlhelpline.com/blog/2008/11/schemalightener-get-flattener.html">flattener</a>, and also has a <a href="http://www.xmlhelpline.com/blog/2008/12/schemalightener-gets-user-interface.html">simple GUI</a> too.<br /><br />Cost effective<br />----------------<br />This utility is presented with its full functionality in a very inexpensive package. The $29 (USD) price does not cover the full cost of development and is simply a way to offset a portion of its creation and keep it going.<br /><br />For more information<br />----------------<br />See <a href="http://www.xmlhelpline.com/tools/">http://www.xmlhelpline.com/tools/</a> for more information and FAQ.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2200693733508292186-2992776366056494330?l=www.xmlhelpline.com%2Fblog'/></div>Paulhttp://www.blogger.com/profile/10201367533944398106noreply@blogger.com0tag:blogger.com,1999:blog-2200693733508292186.post-44335196560095081772009-02-03T08:56:00.004-05:002009-02-03T09:09:05.420-05:00the joys of air travelCost of checked bag: $25<br /><br />Cost of "emergency" exit seat: $30<br /><br />In flight meal: $5<br /><br />Bottle of water: $2<br /><br />Airline customer service: priceless<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2200693733508292186-4433519656009508177?l=www.xmlhelpline.com%2Fblog'/></div>Paulhttp://www.blogger.com/profile/10201367533944398106noreply@blogger.com0tag:blogger.com,1999:blog-2200693733508292186.post-7360536101604012752008-12-21T18:18:00.009-05:002008-12-22T08:39:13.755-05:00Solved! internal_power_error BSOD on hibernateStrange title for the posting I know, but if you are having the same problem you'll recognize it. I've had this intermittent problem with hibernation and done a lot of research around it. It all began when HP replaced my motherboard because of a recall issue. It came back in good working order. However, whenever I tried to hibernate (on vista), it caused a BSOD (blue screen of death) and automatically rebooted. Not 100% of the time but the vast majority of the time.<br /><br />I want hibernate because the laptop is in my bedroom and sleep mode allows a flashing blue light to continue indefinitely. At night, I don't want this flashing, so hibernate is perfect for my needs.<br /><br />Did a bunch of research on this problem, which lots of other folks have had. Many said there was a process that somehow caused the machine to come out of hibernate immediately. Others said it was a BIOS issue. Still others said completely deactivate hibernation and then reactivate. The more adventurous of you can read more <a href="http://social.technet.microsoft.com/forums/en-US/itprovistasp/thread/07832115-abf4-4c9d-a13b-e319953e5c45/">here</a>, <a href="http://www.faultwire.com/solutions_bsod/INTERNAL_POWER_ERROR_0x000000A0-1168.html">here</a>, <a href="http://thevistaforums.com/index.php?showtopic=6043">here</a>, <a href="http://social.msdn.microsoft.com/forums/en-US/windowssearch/thread/04e756f0-a09d-476e-b7d8-48edc57f2c78/">here</a>, <a href="http://forums.cnet.com/5208-12546_102-0.html?forumID=133&amp;threadID=185067&amp;messageID=2619219">here</a>, and <a href="http://www.vistax64.com/vista-performance-maintenance/142808-bsod-unexpected-shutdown-shortly-after-waking-sleep-mode.html">here</a> (even though I have 32 bit).<br /><br />Here are some of the things I've tried:<br />Tried powercfg.exe /hibernate off and then back on. No effect. On power settings, completely disabled hibernate on all modes (power button, lid close, etc), then reactivated. No fix. I went into device manager and made sure none of the devices were "allowed to wake computer". No fix. Also checked task scheduler and removed any task that I thought could be responsible for waking the machine at the wrong time. Again no fix.<br /><br />Someone suggested a corrupt hibernation file. Trashed it and had it create another. Not a fix. My BIOS is completely updated, so I didn't suspect that. And I didn't want to regress to an earlier version. (Also someone said this was fixed in SP1, but I already had that installed.)<br /><br />So my solution came in this form. First, I disabled automatic restart. This allowed me to see the BSOD message before it rebooted. The error was "internal_power_error", which is of course horribly unclear. Here is how to disable auto restart from a help file:<br />1. Click on Start and then Control Panel.<br />2. Click on the System and Maintenance link.<br />3. Click on the System link.<br />4. In the task pane on the left, click the Advanced system settings link.<br />5. Locate the Startup and Recovery area and click on the Settings button.<br />6. In the Startup and Recovery window, locate and uncheck the check box next to Automatically restart.<br />7. Click OK in the Startup and Recovery window.<br />8. Click OK in the System Properties window.<br />9. You can now close the System window.<br />10. From now on, when a problem causes a BSOD or another major error that halts the system, the PC will not automatically reboot. Rebooting manually will be necessary.<br /><br />Second, on my NVIDIA nForce Networking Controller (the culprit), I had previously made sure it was not allowed to wake computer. (Unchecked "Allow this device to wake computer" in power management tab.) The problem was that my system was trying to turn the device off to save power. In device manager, I "unchecked" the "Allow the computer to turn off this device to save power" box (see pic below, which has it checked as I found it originally). This seems to have fixed the problem. Not sure exactly <span style="font-style: italic;">why</span> this was a problem, but I am happy nevertheless. I've been able to hibernate for a few days now with no errors. Hope this helps some of you out there with the same problem.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.xmlhelpline.com/blog/uploaded_images/controller-731836.JPG"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 183px; height: 200px;" src="http://www.xmlhelpline.com/blog/uploaded_images/controller-731807.JPG" alt="" border="0" /></a><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2200693733508292186-736053610160401275?l=www.xmlhelpline.com%2Fblog'/></div>Paulhttp://www.blogger.com/profile/10201367533944398106noreply@blogger.com0tag:blogger.com,1999:blog-2200693733508292186.post-63991054480815730362008-12-10T16:26:00.002-05:002008-12-10T16:30:52.511-05:00SchemaLightener gets a user interfaceThe <a href="http://www.xmlhelpline.com/tools">Xml SchemaLightener</a> now has a user interface. So making a thinner view of an Xml Schema is now as simple as point and click.<br />Screenshot (click to enlarge - image is a bit fuzzy):<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.xmlhelpline.com/blog/uploaded_images/Capture-712492.JPG"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 290px; height: 202px;" src="http://www.xmlhelpline.com/blog/uploaded_images/Capture-750742.JPG" alt="" border="0" /></a><br /><br />The SchemaLightener can be integrated into other tools and so does not *require* the use of the UI. But the UI provides a nice easy way to perform this function. Need a quick view of the schema for a group meeting? No problem. Just point and click, selecting an Xml Schema to lighten, an Xml instance that is representative of what you want, and then executing the transformation.<br /><br />This UI is built with Java, so it works cross platform. It has been tested on windows vista, xp, and linux (ubuntu). And as I said before, has been tested using many <a href="http://www.xmlhelpline.com/blog/2008/10/schema-lightener-undergoes-heavy.html">Consortia standard schemas</a>.<br /><br />Plus, the <a href="http://www.xmlhelpline.com/blog/2008/11/schemalightener-get-flattener.html">Flattener</a>, which was recently added, can also be invoked using the UI.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2200693733508292186-6399105448081573036?l=www.xmlhelpline.com%2Fblog'/></div>Paulhttp://www.blogger.com/profile/10201367533944398106noreply@blogger.com0tag:blogger.com,1999:blog-2200693733508292186.post-73729369261674255812008-11-19T11:03:00.007-05:002008-11-19T11:26:37.323-05:00SchemaLightener gets a FlattenerI've added a new feature to the Xml SchemaLightener, namely that of a <span style="font-style: italic;">Flattener</span>. First, here are some definitions:<br /><br /><u>Lighten</u>: to remove elements and types from a schema, while the remaining elements and types are still consistent with the original schema. To "prune", or create a subset of the schema. To create a "view" of the schema, focusing on certain components.<br /><br /><u>Flatten</u>: to merge all schema dependencies connected via xsd:include into a single schema file. To create a "stand alone" version of a set of schemas. All components are consolidated into one file without any editing or changes. Does not pertain to dependencies connected via xsd:import (because this will not result in a valid schema).<br /><br />I've often needed a flattening tool. Schemas are usually developed modularly to maximize reuse. This has tremendous benefits in building a data model. However, come deployment time, tools sometimes have a problem managing a web of xsd:include files. So it is generally recommended to create a runtime version of a schema which consolidates includes into a "stand alone" one. (Of course it may not literally be stand alone because of xsd:import files, but it isn't possible to merge these according to the spec.)<br /><br />The difference between xsd:include and xsd:import is in namespaces. Files connected via xsd:include have the same default namespace. This is what allows them to be consolidated into a single schema. Files connected via xsd:import have different default namespaces.<br /><br />So I've thrown in an XSLT which will create a stand alone or flattened schema into the SchemaLightener tool. Importantly, even though imports cannot be merged, it does automatically go to each import and flatten its includes (if any) and so the result is a fully valid set of schemas that may have imports but no includes.<br /><br />In short, the absolute minimum number of schema files possible.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2200693733508292186-7372936926167425581?l=www.xmlhelpline.com%2Fblog'/></div>Paulhttp://www.blogger.com/profile/10201367533944398106noreply@blogger.com0tag:blogger.com,1999:blog-2200693733508292186.post-81512774040918986672008-10-22T18:37:00.015-04:002008-11-02T11:28:30.166-05:00Schema Lightener undergoes heavy testingThe <a href="http://www.xmlhelpline.com/tools">Xml Schema Lightener</a> is coming along quite nicely. I've been gathering as many test cases as I can to put a significantly updated version through trials. It is designed to lighten a schema (some call it "prune" or "filter" or "creating a view of") based on an xml instance. Here are the test cases I've run:<br /><ul><li>127 test cases ... <a href="http://www.hrxmlconsortium.org/">HR-XML</a> (Human Resources Xml) v. 2_5<br /></li><li>58 test cases ... <a href="http://www.hrxmlconsortium.org/">HR-XML</a> (Human Resources Xml) v. 3.0 (draft)<br /></li><li>494 test cases ... <a href="http://www.openapplications.org/">OAGi </a>(Open Applications Group) v. 9.2</li><li>141 test cases ... <a href="http://www.starstandard.org/">STAR</a> (Standards for Technology in Automotive Retail) v. 5.1.4</li><li>56 test cases ... <a href="http://www.cidx.org/">CIDX</a> (Chemical Industry Data eXchange) v. 4.0</li><li>96 test cases ... <a href="http://www.acord.org/">ACORD</a> (Insurance Data Standards) v. 2.9</li><li>289 test cases ... <a href="http://www.opentravel.org/">OTA</a> (Open Travel Alliance) v. 2003-05</li><li>41 test cases ... <a href="http://www.twiststandards.org/">TWIST</a> (Transaction Workflow Innovation Standards Team) v 3.1</li></ul>In total, that is 1,302 test cases. All of them are lightened correctly. All of them result in valid xml schemas. All of the original test xml validates against the resulting schema. 100%!<br /><br />This process has really helped me increase the quality of this tool. It is a great resource for removing components that are never used from an xml schema.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2200693733508292186-8151277404091898667?l=www.xmlhelpline.com%2Fblog'/></div>Paulhttp://www.blogger.com/profile/10201367533944398106noreply@blogger.com2tag:blogger.com,1999:blog-2200693733508292186.post-87537533284744876392008-10-06T15:44:00.004-04:002008-10-06T15:54:18.081-04:00HR-XML integration summit next weekNext week is the second annual <a href="http://www.partneringsummit.org/">Global Partnering and Integration Summit</a>. It is designed to bring together the HR community and solve data integration issues. Last year's show was very successful. (You can still <a href="http://www.partneringsummit.org/registration.php">register</a> for this one.)<br />I'll be involved in the pre-conference workshop entitled:<br /><br /><a href="http://www.partneringsummit.org/program.php#precon">Making Data Standards Work:<br />A Detailed Look at Pre-hire to Post-hire HR Systems Integration</a><br /><br />It's been a pleasure working with ADP and HES Corp on this session. Hope you can join us in Chicago.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2200693733508292186-8753753328474487639?l=www.xmlhelpline.com%2Fblog'/></div>Paulhttp://www.blogger.com/profile/10201367533944398106noreply@blogger.com0tag:blogger.com,1999:blog-2200693733508292186.post-16958321406467091062008-09-23T16:33:00.004-04:002008-09-23T16:52:20.640-04:00article: Extend enumerated lists in XML schemaHi folks,<br /><br />In my effort to empower Xml Schema designers and implementers, I've added another item of interest. I've written an article for <a href="http://www.ibm.com/developerworks/">IBM's DeveloperWorks</a> on the topic of extensible enumerated lists. <br /><br /><a href="http://www.ibm.com/developerworks/xml/library/x-extenum/">Extend enumerated lists in XML schema</a><br /><br />The topic of extending enumerated lists is a perennial request I get from clients. The fact that the schema spec does not allow for this extensibility has caused many to develop a work around. The article outlines solutions I've seen.<br /><br />It is a complimentary piece to my article on <a href="http://www.xml.com">Xml.com</a> some time ago on developing a usable profile of xml schema.<br /><br /><a href="http://www.xml.com/pub/a/2006/09/20/profiling-xml-schema.html">Profiling Xml Schema</a><br /><br />This paper was well received and I even got a couple clients as a direct result of the article. So I feel like my effort to empower Xml Schema designers is proving useful for folks.<br /><br />My current work helping schema implementers is involved in moving the <a href="http://www.xmlhelpline.com/tools/index.html">Xml Schema Lightener</a> into a more mature level. Again, I got some great early interest and am working hard on improvements.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2200693733508292186-1695832140646709106?l=www.xmlhelpline.com%2Fblog'/></div>Paulhttp://www.blogger.com/profile/10201367533944398106noreply@blogger.com0tag:blogger.com,1999:blog-2200693733508292186.post-33709988675879250532008-07-31T17:56:00.003-04:002008-07-31T18:03:20.110-04:00OAG and STEP convergenceJust back from a convergence meeting between OAGi and STEP (<b>St</b>andard for the <b>E</b>xchange of <b>P</b>roduct Model Data). Lots of players including OMG PLM services, OASIS PLCS TC, Eurostep, PDES inc, etc. This is one of many convergence efforts building upon OAGIS as a platform. It is great to see so many standards coming together and doing the right thing. Sometimes the standards world can get distracted with egos and agendas and competition (to put it nicely). But it seems like convergence is the name of the game now and the rush to build upon OAGIS as a platform is becoming a stampede. Lots of work to do, but that is a good problem to have.<br /><br />Some great upcoming news on OAGIS as a platform, so stay tuned!<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2200693733508292186-3370998867587925053?l=www.xmlhelpline.com%2Fblog'/></div>Paulhttp://www.blogger.com/profile/10201367533944398106noreply@blogger.com0tag:blogger.com,1999:blog-2200693733508292186.post-69363685712150147602008-06-24T09:51:00.006-04:002008-06-24T09:59:05.293-04:00STAR meetingI am off today to participate in the <a href="http://starstandard.org/">STAR</a> meeting in california. They are the consortium for standards in automotive retail. STAR has had some really great success in advocating and enabling data integration standards. They build their material on top of <a href="http://www.openapplications.org/">OAGIS</a>, thus leveraging an existing data model. This is similar to what <a href="http://www.hr-xml.org/">HR-XML</a> is doing as well as others. (Look ma, standards convergence!)<br />I have more to say about OAGIS as a platform later as there is some interesting news. But for the time being, I'm off to STAR.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2200693733508292186-6936368571215014760?l=www.xmlhelpline.com%2Fblog'/></div>Paulhttp://www.blogger.com/profile/10201367533944398106noreply@blogger.com0tag:blogger.com,1999:blog-2200693733508292186.post-81570296839012249852008-06-11T09:28:00.011-04:002008-06-16T08:39:11.488-04:00Microsoft gets behind UMLCould be real exciting news. I saw this <a href="http://blogs.zdnet.com/service-oriented/?p=1129">posting from Joe McKenrick</a>. Microsoft backing UML as part of its SOA (Oslo Modeler) offerings would be a real boon to the UML world. Templates that bring UML to Visio are nice, but getting backing in a bigger way is enticing. Hopefully they are not simply trying to create buzz. A few other links <a href="http://soa-talk.blogs.techtarget.com/2008/06/09/bill-gates-shakes-up-soa-oslo-embraces-uml/">here</a> and <a href="http://searchwindevelopment.techtarget.com/news/article/0,289142,sid8_gci1316055,00.html">here</a>.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2200693733508292186-8157029683901224985?l=www.xmlhelpline.com%2Fblog'/></div>Paulhttp://www.blogger.com/profile/10201367533944398106noreply@blogger.com0tag:blogger.com,1999:blog-2200693733508292186.post-57870574552062459902008-05-28T14:33:00.005-04:002008-06-02T11:44:53.669-04:00Schema Lightener updated, version 1.1.1I’ve finally gotten a moment to update the <a href="http://www.xmlhelpline.com/tools/">Schema Lightener</a> (now version 1.1.1). Several of you have been requesting this and I am glad to make some progress on it.<br /><br />Most notably, I’ve fixed the “stack overflow error” that sometimes occurred as a result of how namespaces in data (not tags) is handled by XSLT processors. The problem was when two element names (the value of xsd:element/@name and not the tag itself) were the same but with different namespace prefixes. XSLT can handle the namespace prefix in tags very well, but in the content of data, there are some caveats. And because we are parsing an xml schema, the data is in the content.<br /><br />Long story short, the Schema Lightener is updated and no longer throws this error. I’ve tested this with OAGIS 9.2 stand alone schemas and got some really good results. 100% validity and significant reduction in the number of components when applied using the sample xml instances that come with it.<br /><br />For OAGIS folks, when this is combined with the BOD Flattener, it can take a big cumbersome schema set and pair down as well as flatten into something much more manageable.<br /><br />I would like to know what you want to see next:<br /><br />1) a user interface of some kind (i.e. browse to the xsd to lighten)<br />2) ability to take multiple xml instances as input<br />3) improve performance<br />4) other ….<br /><br /><a href="http://www.xmlhelpline.com/contact.html">Send me an email </a>to request a free copy or let me know what you want next.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2200693733508292186-5787057455206245990?l=www.xmlhelpline.com%2Fblog'/></div>Paulhttp://www.blogger.com/profile/10201367533944398106noreply@blogger.com0tag:blogger.com,1999:blog-2200693733508292186.post-83554761348629104642008-04-13T11:02:00.001-04:002008-04-13T11:04:46.450-04:00off to HelsinkiI'm off to Helsinki Finland, doing some <a href="http://www.openapplications.org">OAGIS</a> training and consulting work there. My first time to that city, so I am excited.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2200693733508292186-8355476134862910464?l=www.xmlhelpline.com%2Fblog'/></div>Paulhttp://www.blogger.com/profile/10201367533944398106noreply@blogger.com0tag:blogger.com,1999:blog-2200693733508292186.post-23734412666963879552008-03-29T10:37:00.001-04:002008-03-29T10:38:15.572-04:00using Ruby with windowsI've downloaded <a href="http://instantrails.rubyforge.org/wiki/wiki.pl">Instant Rails</a> (Ruby on Rails), which is a development environment for Ruby in a windows setting. So far it has worked really well. Nice not to have to fuss with dual boot issues. And it comes with PHP and MySql in a nice all-in-one package.<br /><br />Found this little gotcha in that if you are in windows, chances are good something already has port 80 taken. Edit your config to use another port. I have IIS already, so I had to change ports. Here is a <a href="http://www.joncollins.net/wordpress/2007/07/12/instantrails-in-vista-ultimate/">blog post</a> on this topic.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2200693733508292186-2373441266696387955?l=www.xmlhelpline.com%2Fblog'/></div>Paulhttp://www.blogger.com/profile/10201367533944398106noreply@blogger.com0tag:blogger.com,1999:blog-2200693733508292186.post-207551834388006742008-03-19T21:59:00.002-04:002008-03-19T22:07:04.443-04:00you asked, I delivered: Schema Lightener updated<a href="http://www.xmlhelpline.com/blog/2008/03/schema-lightener-free-tool-to-simplify.html">Recently posted</a> about the <a href="http://www.xmlhelpline.com/tools/">Schema Lightener</a> tool. Some of you responded with a request to better support Xml Namespace prefixes. Now, you can use prefixes in either the Xml instance or the schema. This new version still uses xslt 1.0 technology. Send me an email and I'll send you a copy. As I've said its completely free.<br /><br />Also, I've added in a command line XSLT processor, a batch file, and a couple sample schemas to help you get started.<br /><br />Am also working on a version with xslt2.0 that will manage all your includes and imports with one invocation.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2200693733508292186-20755183438800674?l=www.xmlhelpline.com%2Fblog'/></div>Paulhttp://www.blogger.com/profile/10201367533944398106noreply@blogger.com0tag:blogger.com,1999:blog-2200693733508292186.post-55200920865637025182008-03-05T15:17:00.006-05:002008-03-05T15:28:41.628-05:00Schema Lightener, a free tool to simplify xml schemasI just released the free <a href="http://www.xmlhelpline.com/tools/">Xml Schema Lightener</a> in order to address the issue described as "LiteBODs", subset Schemas, or constrained Schemas. In short it is a method to take a Schema and create a "Lite" one with all the undesired elements, attributes, and data types removed. Same data model but with fewer components.<br /><br />I've gotten this request from clients in the data integration space, who either need to communicate a subset to their others (internal or external); or from clients who are trying to generate code from the Schema and don't want lots of unnecessary classes created for elements they don't implement.<br /><br />Also got this request from Consortium members (i.e. members of <a href="http://www.hr-xml.org/">HR-XML</a> and <a href="http://www.openapplications.org/">OAG</a>), where they want to take a base open standard Schema and constrain it down to an "as implemented" one that can be used for validation. It's been tested with OAGIS version 9.1 and HR-XML version 2.5.<br /><br />There is an FAQ and real world statistics on the amoung of reduction in the number of components. Have a look and let me know your thoughts.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2200693733508292186-5520092086563702518?l=www.xmlhelpline.com%2Fblog'/></div>Paulhttp://www.blogger.com/profile/10201367533944398106noreply@blogger.com0tag:blogger.com,1999:blog-2200693733508292186.post-14923768919460925442008-02-25T17:04:00.004-05:002008-02-28T08:47:45.449-05:00the mighty spreadsheetWorking in technology for a while, I find it interesting that with all the tech available to folks, the simplest approach is so often used.<br /><br />Take data integration. In the process of creating requirements to be modeled (whether in Xml Schema or UML), mapping data to internal processes, or mapping data between systems, folks often gravitate to the simple spreadsheet as the primary work horse.<br /><br />I've done this with many clients, using variations of similar spreadsheets to do mappings and requirements gathering. I've seen standards folks use this, in HR-XML, OAGi, UBL, and the CCTS folks. They all invariably use the spreadsheet over much more sophisticated tools.<br /><br />Hail the humble spreadsheet!<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2200693733508292186-1492376891946092544?l=www.xmlhelpline.com%2Fblog'/></div>Paulhttp://www.blogger.com/profile/10201367533944398106noreply@blogger.com0tag:blogger.com,1999:blog-2200693733508292186.post-15918887482387115482008-02-22T07:55:00.004-05:002008-02-25T17:02:39.584-05:00great Ruby podcast online<a href="http://www.informit.com/podcasts/episode.aspx?e=413e6118-9d36-43ad-bf4a-25f6fdeec863">Great podcast on Ruby </a>with author Russ Olsen, who wrote <a href="http://www.amazon.com/gp/product/0321490452?ie=UTF8&amp;tag=xmlhelplcomco-%20%2020&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0321490452">Design Patterns in Ruby</a><img src="http://www.assoc-%20%20amazon.com/e/ir?t=xmlhelplcomco-20&amp;l=as2&amp;o=1&amp;a=0321490452" alt="" style="border: medium none ! important; margin: 0px ! important;" border="0" height="1" width="1" />. Have not yet read the book, but will surely do so as I get more experience. The podcast is free and I found it to be very good.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2200693733508292186-1591888748238711548?l=www.xmlhelpline.com%2Fblog'/></div>Paulhttp://www.blogger.com/profile/10201367533944398106noreply@blogger.com0tag:blogger.com,1999:blog-2200693733508292186.post-83132376223639553202008-02-15T17:02:00.006-05:002008-02-22T07:55:47.208-05:00programming in RubyI've been hearing so much about Ruby, I finally went out and bought a book. It's called <a href="http://www.amazon.com/gp/product/0596529864?ie=UTF8&amp;tag=xmlhelplcomco-%20%2020&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0596529864">Learning Ruby</a><img src="http://www.assoc-amazon.com/e/ir?t=xmlhelplcomco-%20%2020&amp;l=as2&amp;o=1&amp;a=0596529864" alt="" style="border: medium none ! important; margin: 0px ! important; display: none;" border="0" height="1" width="1" /> by Michael Fitzgerald. I found the book pretty good at laying out the jist of Ruby. The most interesting thing about it is that everything is an object. Even numbers are classes! This takes object orientation to its logical conclusion.<br />I also like the "dynamic typing" wherein the system determines the data type of a variable. While I wonder if this leads to casting problems, it is nice to have someone else take care of the details.<br />Will post on a Ruby podcast next.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2200693733508292186-8313237622363955320?l=www.xmlhelpline.com%2Fblog'/></div>Paulhttp://www.blogger.com/profile/10201367533944398106noreply@blogger.com0tag:blogger.com,1999:blog-2200693733508292186.post-13685157096608095032008-02-15T16:32:00.003-05:002008-02-15T16:59:59.147-05:00Xml arrives at age 10Hard to believe but Xml is now 10 years old. It has been an amazing decade of development. Those of us with a love (<span style="font-style: italic;">illness</span>?) for this technology are happy to see it become so implemented. I remember when it was first published in 1998, I was trying to implement it with a text editor and the "Panorama" plugin viewer. I had no way to validate at the time. Then within a year, I was implementing it again with the new Xml support in Internet Explorer 5. Tools are so much better now.<br /><br />Tim Bray has just written a great piece called "<a href="http://www.tbray.org/ongoing/When/200x/2008/02/10/XML-People">Xml People</a>" about Xml's development in the early days and the people who were there.<br /><br />For those who want to understand the original spec, Tim also wrote this great <a href="http://www.xml.com/axml/testaxml.htm">annotated version of the spec</a>. I've referred to this numerous times over the years.<br /><br />Relatedly, the spec is currently at <a href="http://www.w3.org/TR/REC-xml/">Xml 1.0 fourth edition</a>. There is a proposal to make the unsuccessful version 1.1 into an <a href="http://norman.walsh.name/2008/02/07/xml105e">Xml 1.0 fifth edition</a>. But as I've blogged, <a href="http://www.xmlhelpline.com/blog/2008/02/is-xml-10-5th-ed-backwardly-compatible.html">it has its detractors</a>.<br /><br />Happy birthday Xml!<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2200693733508292186-1368515709660809503?l=www.xmlhelpline.com%2Fblog'/></div>Paulhttp://www.blogger.com/profile/10201367533944398106noreply@blogger.com0tag:blogger.com,1999:blog-2200693733508292186.post-10199994417485719432008-02-11T15:13:00.000-05:002008-02-12T15:34:51.934-05:00Impact of XML on Data ModelingAn interesting thread on the xmlschema-dev list about the impact of xml on data modeling.<span style="font-weight: bold;"><span style="font-weight: bold;"></span><br /><br /></span><a href="http://lists.w3.org/Archives/Public/xmlschema-dev/2008Jan/0059.html">Scott Tsao</a> starts off talking about how to define different kinds of data models. The Conceptual, Logical, and Physical. He says that Xml Schema is the logical model and the binding to a database would be the physical one.<br /><br /><span id="from"><a href="http://lists.w3.org/Archives/Public/xmlschema-dev/2008Jan/0061.html">Essam Mansour</a> says: "</span>Conceptual: the model at this level is platform-independent and also could be logically modeled using any modeling technique, ERD, OO model, or XML Schema. Logical: is also platform-independent but it is based on specific modeling technique. Physical: is platform dependent."<br />This strikes me as pretty close on. Xml Schema can do any of these models, it is the semantic concepts that are different.<br /><br /><span id="from"><a href="http://lists.w3.org/Archives/Public/xmlschema-dev/2008Jan/0063.html">Anthony B. Coates</a> says what I think is very common and have come across many times. He says Xml Schema is the physical and UML is the conceptual. This is in fact how they each tend to be used. But I have also found strong support for Xml Schema at the conceptual level. Anthony <a href="http://lists.w3.org/Archives/Public/xmlschema-dev/2008Jan/0065.html">goes on to say</a> that the conceptual (UML) is the business representation and the physical (XSD) is the technicians' view. This again is what I have come across with my clients. But it is not rigid. The line between business and technical is often blurry, and reality creeps in. But the broad separation of these if often seen as an "ideal".<br /><br /><a href="http://lists.w3.org/Archives/Public/xmlschema-dev/2008Jan/0064.html">Michael Kay</a>, who is everywhere and one of the smartest folks I've read, says the concepts are separate. A conceptual model gives you abstraction that can benefit data modeling. So while the <a href="http://lists.w3.org/Archives/Public/xmlschema-dev/2008Jan/0071.html">concepts are separate</a>, there is an underlying standardized data model.<br /><br />This is where already standardized data models such as <a href="http://www.openapplications.org/">OAGIS</a> and <a href="http://www.hr-xml.org/">HR-XML</a> come in to play. They can give you a heads up on creating a new model (whether in UML or in XSD) or they can be considered an open source data sharing model for B2B transactions.<br /><br />With some support for the conceptual=UML and physical=XSD, the discusssion then goes on to ask "can xsd also model the conceptual?" See <a href="http://lists.w3.org/Archives/Public/xmlschema-dev/2008Jan/0073.html">Scott Tsao</a>.<br /><br />I totally agree with Scott in that it "can" play that role. And I've seen it done that way. The bottom line is to use the modeling tool that is most usable and comfortable to you. If it is UML, then use it. If XSD, then use it. I've seen it done both ways and I don't think there are any musts here.<br /><br />The big problem with UML and XSD is translating between them. But I'll blog on that topic separately.</span><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2200693733508292186-1019999441748571943?l=www.xmlhelpline.com%2Fblog'/></div>Paulhttp://www.blogger.com/profile/10201367533944398106noreply@blogger.com0tag:blogger.com,1999:blog-2200693733508292186.post-15269570865313621932008-02-11T12:20:00.001-05:002008-02-11T12:24:21.272-05:00OAGIS 9.2 released todayJust announced that <a href="http://www.oagi.org/downloads/oagis/oagis92_registration.htm">OAGIS version 9.2</a>. is out today. Go grab a copy while supplies last...<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2200693733508292186-1526957086531362193?l=www.xmlhelpline.com%2Fblog'/></div>Paulhttp://www.blogger.com/profile/10201367533944398106noreply@blogger.com0tag:blogger.com,1999:blog-2200693733508292186.post-32152439805201674082008-02-09T16:36:00.000-05:002008-02-09T17:16:44.556-05:00Is XML 1.0 (5th ed) backwardly compatible?Been reading alot about the <a href="http://www.w3.org/TR/2008/PER-xml-20080205/">Xml 1.0 fifth edition</a>, now a "Proposed Recommendation". The reasoning goes like this: there are no <a href="http://www.ibm.com/developerworks/xml/library/x-xmlns11.html">Xml 1.1 docs</a> because parser writers believe no one will use it and no one will use it because parser writers don't support it. So why not make Xml 1.1 into an erratum version of Xml and call it 5th edition of 1.0? That seems to be what has been done.<br /><br />Someone recently wrote about a problem of backward compatibility. The issue is around Unicode. Originally Xml was explicitly tied to Unicode 2. But Unicode has not stood still, moving on to version 4 and beyond. So what if someone wants to use Unicode 4 in a xml setting?<br /><br />The theory is a relaxation of constraints. Xml currently says Unicode 2 and anything not explicitly allowed is prohibited. The Xml 1.0 5th edition says anything not explicitly prohibited is allowed. So following the logic, the 5th edition is a superset of the previous editions in terms of allowed characters.<br /><br /><a href="http://sqljunkies.com/WebLog/mrys/archive/2004/02/05/972.aspx">Michael Rys</a> says that 1.1 becoming a recommendation was a day for mourning. I assume he would say the same for 1.0 5th edition.<br /><br /><a href="http://norman.walsh.name/2008/02/07/xml105e">Norm Walsh</a> likes it alot. "The fifth edition does not change the status of <em>any</em> existing XML 1.0 document with respect to well-formedness or validity. Nor does it introduce <em>any</em> of the backwards-incompatible changes introduced in XML 1.1."<br /><br />So Norm's comment makes me think it fully backwardly compatible (the 5th edition that is).<br /><br /><a href="http://recycledknowledge.blogspot.com/2008/02/which-characters-are-excluded-in-xml.html">John Cowan</a> describes the characters are not allowed in 5th edition.<br /><br /><a href="http://norman.walsh.name/2008/02/07/xml105e#comment0004">David Carlisle</a> says the change is a good one, but it should be called explicitly a version and not passed off as an erratum.<br /><br /><a href="http://norman.walsh.name/2008/02/07/xml105e#comment0006">Mark Nottingham</a> describes the problem that most seem concerned about, namely "implementation Z (of, say, the 3rd edition) coming across a 5th edition document and blowing up".<br />This is a logical concern. But even this concern is still backwardly compatible in my reading as long as the Unicode standard is expanding in super sets and not altering existing material. This is what I understand to be the case.<br /><br />So I still haven't found out what makes Xml 1.0 5th edition not backwardly compatible. For sure it would lead to things not being forwardly compatible. But that is a well understood issue in software development and doesn't prevent forward progress.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2200693733508292186-3215243980520167408?l=www.xmlhelpline.com%2Fblog'/></div>Paulhttp://www.blogger.com/profile/10201367533944398106noreply@blogger.com3