You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Brian Minchau (JIRA)" <xa...@xml.apache.org> on 2006/12/12 01:22:20 UTC

[jira] Created: (XALANJ-2355) Some namespace tests should be moved from 'conformance' to 'acceptance'

Some namespace tests should be moved from 'conformance' to 'acceptance'
-----------------------------------------------------------------------

                 Key: XALANJ-2355
                 URL: http://issues.apache.org/jira/browse/XALANJ-2355
             Project: XalanJ2
          Issue Type: Test
            Reporter: Brian Minchau
             Fix For: The Latest Development Code


During the Xalan-J JIRA triage on December 11, 2006 David Marston suggested that there might 
be tests in the namespace area that are actually 'acceptance' tests that should be moved out
of the 'conformance' area.

One such test would be due to XALANJ-2334 and XALANJ-2150.

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


[jira] Commented: (XALANJ-2355) Some namespace tests should be moved from 'conformance' to 'acceptance'

Posted by "Brian Minchau (JIRA)" <xa...@xml.apache.org>.
    [ https://issues.apache.org/jira/browse/XALANJ-2355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12470654 ] 

Brian Minchau commented on XALANJ-2355:
---------------------------------------

During the Xalan-J JIRA triage on February 5, 2007 Dave Marston said that what he
is thinking of is that there are some cases where there is a prefix collision and
the processor must generate a prefix, e.g. ns0, ns1, ns2 ...

The output XML need only have the output elements in the correct namespace (URI) but the prefix for the element is a sort of necessary evil. Where possible a processor usually uses the same prefixes as in the stylesheet or in the input XML, but it need not, just as long as the output elements are in the correct namespace.

The gold file may have some prefixes, or indeed even all prefixes,  that were not in the stylesheet or in the xml being transformed. 

The issue seems to be how smart the comparator program is in the test harness. So perhaps all of the tests that Dave was thinking of are still valid conformance tests. Dave said he will revisit this JIRA issue.



> Some namespace tests should be moved from 'conformance' to 'acceptance'
> -----------------------------------------------------------------------
>
>                 Key: XALANJ-2355
>                 URL: https://issues.apache.org/jira/browse/XALANJ-2355
>             Project: XalanJ2
>          Issue Type: Test
>            Reporter: Brian Minchau
>             Fix For: The Latest Development Code
>
>
> During the Xalan-J JIRA triage on December 11, 2006 David Marston suggested that there might 
> be tests in the namespace area that are actually 'acceptance' tests that should be moved out
> of the 'conformance' area.
> One such test would be due to XALANJ-2334 and XALANJ-2150.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


[jira] Commented: (XALANJ-2355) Some namespace tests should be moved from 'conformance' to 'acceptance'

Posted by "Brian Minchau (JIRA)" <xa...@xml.apache.org>.
    [ https://issues.apache.org/jira/browse/XALANJ-2355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12470722 ] 

Brian Minchau commented on XALANJ-2355:
---------------------------------------

Thanks to Atosa K. for clarifying this.

If the output generated is:
<?xml version='1.0'?><p1:e1  p2:a1='value1'   xmlns:p1='uri1'          xmlns:p2='uri2' />
and our gold file has this:
<?xml version='1.0'?><prefix1:e1 prefix2:a1='value1'  xmlns:prefix1='uri1' xmlns:prefix2='uri2' />

The element and attribute are the same since they have the same URI. However the elements have different namespace nodes.

The pseudo-attribute xmlns:p1='uri1' adds a namespace node associated with the element, and this namespace node differs from the other one with xmlns:prefix1='uri1' since the prefixes differ.

So it seems that tests that involve generated prefixes to avoid prefix collisions are not conformance tests but acceptance tests as Dave had initially suspected when this issue was created.




> Some namespace tests should be moved from 'conformance' to 'acceptance'
> -----------------------------------------------------------------------
>
>                 Key: XALANJ-2355
>                 URL: https://issues.apache.org/jira/browse/XALANJ-2355
>             Project: XalanJ2
>          Issue Type: Test
>            Reporter: Brian Minchau
>             Fix For: The Latest Development Code
>
>
> During the Xalan-J JIRA triage on December 11, 2006 David Marston suggested that there might 
> be tests in the namespace area that are actually 'acceptance' tests that should be moved out
> of the 'conformance' area.
> One such test would be due to XALANJ-2334 and XALANJ-2150.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org