[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [dita] Fwd: DITA grammars
To follow on this thread, Vasontâs web CCMS is developed on DOTNET and relies on XSD.
Deb Bissantz Manager of Content Services GlobalLink CCMS A TransPerfect Company t +1 717.793.3883 From: dita@lists.oasis-open.org [mailto:dita@lists.oasis-open.org]
On Behalf Of Kristen James Eberlein Feedback from Rodolfo Raya ... Best,
Hello Kris, Moving DITA grammars to RelaxNG looks cool and a modern thing to do, but from my perspective as developer this was a bad idea. When a Java-based parser reads an XML file that declares a DTD or XSD grammar, the parser sets element attributes to their default values when the user doesnât explicitly set in the XML file. If the parser reads a DITA file, it automatically
sets the @class attribute from the grammar, even if the author skipped it (most common case). Same with any attribute that has a default in the grammar. Reading an XML file that declares a RelaxNG grammar using a Java-based parser does not set skipped attributes to their default values. Reading a DITA file with RelaxNG grammar does not let you know the value of the @class attribute in its
elements. My translation tools depend on the @class attribute to process user-defined elements. This is a problem when users try to adopt RelaxNG for their customized grammars. At least my tools canât support them today. Itâs not a new thing, the
problem appeared long ago. So, the move to embrace RelaxNG creates problems for some tool vendors. It requires major changes in XML parsers and catalog managers. I really donât know if the DITA TC considered the libraries that developers use on different platforms, like .NET on Windows or Java. My impression is that the TC looked at authoring and publishing environments only. Take this email as a small contribution to the discussion on grammars. Iâm not requesting any change or reconsideration, just providing additional information. Regards, Rodolfo
--------------------------------------------------------------------- To unsubscribe from this mail list, you must leave the OASIS TC that generates this mail. Follow this
link to all your TCs in OASIS at:
https://link.edgepilot.com/s/5ab00c79/vZ0B7gruSEmf1y0NQJGdqA?u=https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]