Historically jxom was developed first, and as such exhibited some imperfectness in its xml schema. csharpxom has taken into an account jxom's problems.
Unfortunately we could not easily fix jxom as a great amount of code already uses it. In this refactoring we tried to be conservative, and have changed only "type" and "import" xml schema elements in java.xsd.
"type"
"import"
Consider type reference and package import constructs in the old schema:
<!-- import java.util.ArrayList; --> <import name="java.util.ArrayList"/> <!-- java.util.ArrayList<java.math.BigDecimal> --> <type package="java.util"> <part name="ArrayList"> <argument> <type name="BigDecimal" package="java.math"> </argument> </part> </type> <!-- my.Parent.Nested --> <type package="my"> <part name="Parent"/> <part name="Nested"/> <type>
Here we can observe that:
We have made it more consistent in the updated jxom:
<!-- import java.util.ArrayList; --> <import> <type name="ArrayList" package="java.util"/> </import> <!-- java.util.ArrayList<java.math.BigDecimal> --> <type name="ArrayList" package="java.util"> <argument> <type name="BigDecimal" package="java.math"> </argument> </type> <!-- my.Parent.Nested --> <type name="Nested"> <type name="Parent" package="my"/> <type>
We hope that you will not be impacted very much by this fix.
Please refresh Languages XOM from languages-xom.zip.
P.S. we have also included xml schema and xslt api to generate ASPX (see Xslt serializer for ASPX output). We, in fact, in our projects, generate aspx documents with embedded csharpxom, and then pass it through two stage transformation.
Remember Me
a@href@title, b, blockquote@cite, em, i, strike, strong, sub, super, u