Jack,

Yes, removing the '@' from the list allows everything to work. I've 
filed 6492 for this.

--Jens

On 02/09/09 13:50, Jack Schwartz wrote:
> Hi Jens.
> 
> Thanks for reporting this.  I am most familiar with this code, and it 
> looks like a bug to me.
> 
> I assume it works if you remove the @ from the list of disallowed chars?
> 
>     Thanks,
>     Jack
> 
> On 02/09/09 13:37, Jens Deppe wrote:
>> Hello,
>>
>> I'm trying to use the DC with a manifest with package names in the 
>> following format as I want to build an AI iso with specifically 
>> versioned bits:
>>
>>      <pkg name="SUNWcsd at 0.5.11,5.11-0.101"/>
>>
>> However, when running distro_const, the XML fails to validate - I'm 
>> presuming because of the following code in 
>> cmd/distro_const/ValidatorModule.py which is validating the XML.
>>
>>      # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>      def is_wildcard(self, node):
>>      # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>      # Returns True if disallowed_chars are found in the node's value.
>>      # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>          disallowed_chars = "*...@[]{}|><()#$\"\'\\"
>>          value = node.get_value()
>>          for dchar in disallowed_chars:
>>              if (value.find(dchar) != -1):
>>                  return True
>>          return False
>>
>> Is this expected behaviour?
>>
>> Thanks.
>> --Jens
>> _______________________________________________
>> caiman-discuss mailing list
>> caiman-discuss at opensolaris.org
>> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
>>   
> 
> _______________________________________________
> caiman-discuss mailing list
> caiman-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

Reply via email to