[ 
http://jira.codehaus.org/browse/JIBX-256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=164049#action_164049
 ] 

Nigel Charman commented on JIBX-256:
------------------------------------

OK, I understand it more now I've looked at the examples, and actually written 
one from scratch.  What would really explain it well would be an XML Schema for 
the schema customization xml.

The documentation would be clearer if the "Schema component customizations" 
section were expanded to say something like:

"Specific schema components may be customized by creating an element named with 
the type of schema component, which must be one of 

* element
* complexType
* attribute
* (list any other types that are supported)

The path and name attributes, along with the nesting of the schema component 
customizations, are used to match the specific schema component. Namespaces are 
ignored.

All schema component customizations can use any of the nesting customization 
attributes defined in the last section, and also the following attributes:
...."

Also I think the start of "Nesting customizations" could be simplified to read:

"Nesting customization attributes can be used on any customization element, 
including 'schema-set', 'schema' and schema component customizations. Here's 
the alphabetical list of these attributes:"

The example in "Customization document structure" should have ignore="true" 
rather than generation="skip".



> Code Gen Documentation not clear on element level customization
> ---------------------------------------------------------------
>
>                 Key: JIBX-256
>                 URL: http://jira.codehaus.org/browse/JIBX-256
>             Project: JiBX
>          Issue Type: Bug
>          Components: core
>    Affects Versions: JiBX 1.2
>            Reporter: Nigel Charman
>            Assignee: Dennis Sosnoski
>            Priority: Minor
>             Fix For: JiBX 1.2
>
>
> codegen-customs.html shows:
>     <element 
> path="eleme...@name=ota_airavailrs]/**/eleme...@name=origindestinationoption]"
>  generation="skip"/>
> This seemed inconsistent with the remainder of the page, which does not 
> mention an "element" element (all I could see was "The element name for the 
> customization always matches the name of the schema definition element being 
> customized (but without namespace).").
> Also there is no mention of a "generation" attribute in the docs.  There is 
> an "ignore" attribute which controls generation.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to